Skip to content

Commit a165725

Browse files
committed
........ attempt #93Y2
1 parent eed690a commit a165725

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/LiveComponent/tests/Integration/LiveComponentHydratorTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,9 @@ public function onEntireEntityUpdated($oldValue)
751751
$prod3 = create(ProductFixtureEntity::class, ['name' => 'item3'])->object();
752752

753753
return HydrationTest::create(new class() {
754-
/**
755-
* @var ProductFixtureEntity[] $products
756-
*/
757754
#[LiveProp()]
758-
public $products = [];
755+
/** @var \Symfony\UX\LiveComponent\Tests\Fixtures\Entity\ProductFixtureEntity[] */
756+
public array $products = [];
759757
})
760758
->mountWith(['products' => [$prod1, $prod2, $prod3]])
761759
->assertDehydratesTo([

0 commit comments

Comments
 (0)