We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11d1bbb commit 0032dc3Copy full SHA for 0032dc3
tests/PHPStan/Type/ArrayTypeTest.php
@@ -345,7 +345,7 @@ public static function dataSpliceArray(): array
345
new ConstantIntegerType(0),
346
347
new ConstantArrayType([], []),
348
- 'array<int<0, max>|string, mixed>',
+ 'array<(int<0, max>|string), mixed>',
349
],
350
[
351
new ArrayType(new StringType(), new MixedType()),
@@ -362,7 +362,7 @@ public static function dataSpliceArray(): array
362
363
364
new ArrayType(new MixedType(), new MixedType()),
365
- 'array<(int<0, max>|string), mixed>',
+ 'array<int<0, max>|string, mixed>',
366
367
];
368
}
0 commit comments