Skip to content

Commit 6f14967

Browse files
committed
Update strlen-int-range.php
1 parent 4a5bf24 commit 6f14967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/nsrt/strlen-int-range.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function doFoo(string $s, $zeroToThree, $twoOrThree, $twoOrMore, int $maxThree,
1717
assertType('string', $s);
1818
}
1919
if (strlen($s) > $zeroToThree) {
20-
assertType('non-empty-string', $s);
20+
assertType('non-empty-string', $s); // could be non-falsy-string
2121
}
2222
if (strlen($s) > $twoOrThree) {
2323
assertType('non-falsy-string', $s);

0 commit comments

Comments
 (0)