We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6d369 commit a34755eCopy full SHA for a34755e
tests/PHPStan/Analyser/nsrt/bug-13747.php
@@ -13,7 +13,7 @@ public function sayHello($list): void
13
}
14
15
if (count($list) > 2) {
16
- assertType('non-empty-list<int>&hasOffsetValue(0, int)&hasOffsetValue(1, int)&hasOffsetValue(2, int)', $list);
+ assertType('non-empty-list<int>&hasOffsetValue(1, int)&hasOffsetValue(2, int)', $list);
17
} else {
18
assertType('non-empty-list<int>', $list);
19
0 commit comments