Skip to content

Commit 2993e19

Browse files
committed
less precise types
1 parent 678b2cc commit 2993e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Analyser/nsrt/bug-12274.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function testKeepNestedListAfterIssetIndex(array $nestedList, int $i, int $j): v
5656
assertType('list<list<int>>', $nestedList);
5757
assertType('list<int>', $nestedList[$i]);
5858
$nestedList[$i][$j] = 21;
59-
assertType('non-empty-list<non-empty-list<int>>', $nestedList);
60-
assertType('non-empty-list<int>', $nestedList[$i]);
59+
assertType('non-empty-list<list<int>>', $nestedList);
60+
assertType('list<int>', $nestedList[$i]);
6161
}
6262
assertType('list<list<int>>', $nestedList);
6363
}

0 commit comments

Comments
 (0)