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 ade602b commit 5f7c50fCopy full SHA for 5f7c50f
tests/PHPStan/Analyser/nsrt/bug-11547.php
@@ -45,7 +45,7 @@ function validPatternWithEmptyResult(string $s, array $arr) {
45
assertType('string|null', $r);
46
47
$r = preg_replace('/(\D+)*[12]/', 'x', $arr);
48
- assertType('array', $r);
+ assertType('array<string>', $r);
49
}
50
51
0 commit comments