We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bff333 commit f641f10Copy full SHA for f641f10
1 file changed
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