Skip to content

Commit 0767f80

Browse files
committed
resolve failing test on 7.4
1 parent 5380777 commit 0767f80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/PHPStan/Analyser/data/explode-php74.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class ExplodingStrings
99
public function doFoo(string $s): void
1010
{
1111
assertType('non-empty-list<lowercase-string>|false', explode($s, 'foo'));
12-
assertType('non-empty-list<string>|false', explode($s, 'FOO'));
12+
assertType('non-empty-list<uppercase-string>|false', explode($s, 'FOO'));
13+
assertType('non-empty-list<string>|false', explode($s, 'Foo'));
1314
}
1415
}

0 commit comments

Comments
 (0)