Skip to content

Commit 0fab134

Browse files
committed
Update bug-13674.php
1 parent 004abc7 commit 0fab134

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PHPStan/Analyser/nsrt/bug-13674.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@ public function sayHello($arrayA, $listA, int $i): void
3232
return;
3333
}
3434
assertType('non-empty-list<int>', $listA);
35+
36+
$emptyArray = [];
37+
assertType('false', isset($emptyArray[$i]));
3538
}
3639
}

0 commit comments

Comments
 (0)