Skip to content

Commit 814ec1c

Browse files
committed
Update bug-13747.php
1 parent a2e991f commit 814ec1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function sayHello($list): void
1515

1616
if (count($list) > 2) {
1717
assertType('non-empty-list<int>&hasOffsetValue(1, int)&hasOffsetValue(2, int)', $list);
18+
assertType('int<3, max>', count($list));
1819
} else {
1920
assertType('non-empty-list<int>', $list);
2021
}

0 commit comments

Comments
 (0)