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 282252a commit 09f3526Copy full SHA for 09f3526
tests/PHPStan/Analyser/nsrt/bug11488.php
@@ -46,7 +46,7 @@ protected function test(array $row): void
46
if (count($row) !== 1) {
47
assertType('array{mixed, string|null, mixed}', $row);
48
} else {
49
- assertType('array{0: mixed, 1?: string|null}', $row);
+ assertType('array{mixed}', $row);
50
}
51
52
if (count($row) !== 2) {
0 commit comments