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 004abc7 commit 0fab134Copy full SHA for 0fab134
tests/PHPStan/Analyser/nsrt/bug-13674.php
@@ -32,5 +32,8 @@ public function sayHello($arrayA, $listA, int $i): void
32
return;
33
}
34
assertType('non-empty-list<int>', $listA);
35
+
36
+ $emptyArray = [];
37
+ assertType('false', isset($emptyArray[$i]));
38
39
0 commit comments