We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5efe2a3 commit 0df24c0Copy full SHA for 0df24c0
1 file changed
tests/PHPStan/Analyser/nsrt/bug-8270.php
@@ -6,7 +6,7 @@
6
7
use function PHPStan\Testing\assertType;
8
9
-function () {
+function doFoo() {
10
/** @var non-empty-list<array{test: false, value: int}> $list */
11
$list = [];
12
$list[0]['test'] = true;
@@ -18,9 +18,9 @@ function () {
18
echo $item['value'];
19
}
20
21
-};
+}
22
23
+function doBar() {
24
25
26
for ($i = 0; $i < 10; $i++) {
0 commit comments