diff --git a/tests/ArrayAssignmentTest.php b/tests/ArrayAssignmentTest.php index 791ed56fb..9b3197d95 100644 --- a/tests/ArrayAssignmentTest.php +++ b/tests/ArrayAssignmentTest.php @@ -1532,7 +1532,7 @@ class ArrayAssignmentTest extends TestCase $x = [...$x, ...$y]; ', - 'assertions' => ['$x===' => 'list{0?: int, 1?: int, ..., int>}'], + 'assertions' => ['$x===' => 'list'], ], 'unpackNonEmptyListIsNotEmpty' => [ 'code' => ' "b"]; ', - 'assertions' => ['$x===' => "array{0?: mixed, a: 'b', ..., mixed>}"], + 'assertions' => ['$x===' => "array{a: 'b', ..., mixed>}"], ], 'checkTraversableUnpackTemplatesCorrectly' => [ 'code' => '