Skip to content

Commit b9d27dc

Browse files
committed
fix wrong comment
1 parent 3e2d776 commit b9d27dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/nsrt/bug-13301-php8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function doFooFalsey($mixed) {
3737
if (array_key_exists('a', $mixed) == 0) {
3838
assertType("array", $mixed);
3939
} else {
40-
assertType("non-empty-array&hasOffset('a')", $mixed); // could be array~hasOffset('a') after arrays got subtractable
40+
assertType("non-empty-array&hasOffset('a')", $mixed);
4141
}
4242
assertType('array', $mixed);
4343
}

0 commit comments

Comments
 (0)