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 3e2d776 commit b9d27dcCopy full SHA for b9d27dc
tests/PHPStan/Analyser/nsrt/bug-13301-php8.php
@@ -37,7 +37,7 @@ function doFooFalsey($mixed) {
37
if (array_key_exists('a', $mixed) == 0) {
38
assertType("array", $mixed);
39
} else {
40
- assertType("non-empty-array&hasOffset('a')", $mixed); // could be array~hasOffset('a') after arrays got subtractable
+ assertType("non-empty-array&hasOffset('a')", $mixed);
41
}
42
assertType('array', $mixed);
43
0 commit comments