We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f78547c commit c7f870aCopy full SHA for c7f870a
tests/PHPStan/Analyser/nsrt/bug-5017.php
@@ -15,7 +15,7 @@ public function doFoo()
15
assertType('non-empty-array<0|1|2|3|4, 0|1|2|3|4>', $items);
16
$batch = array_splice($items, 0, 2);
17
assertType('array<0|1|2|3|4, 0|1|2|3|4>', $items);
18
- assertType('non-empty-array<0|1|2|3|4, 0|1|2|3|4>', $batch);
+ assertType('non-empty-list<0|1|2|3|4>', $batch);
19
}
20
21
0 commit comments