Skip to content

Commit 0032dc3

Browse files
Fix
1 parent 11d1bbb commit 0032dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Type/ArrayTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public static function dataSpliceArray(): array
345345
new ConstantIntegerType(0),
346346
new ConstantIntegerType(0),
347347
new ConstantArrayType([], []),
348-
'array<int<0, max>|string, mixed>',
348+
'array<(int<0, max>|string), mixed>',
349349
],
350350
[
351351
new ArrayType(new StringType(), new MixedType()),
@@ -362,7 +362,7 @@ public static function dataSpliceArray(): array
362362
new ConstantIntegerType(0),
363363
new ConstantIntegerType(0),
364364
new ArrayType(new MixedType(), new MixedType()),
365-
'array<(int<0, max>|string), mixed>',
365+
'array<int<0, max>|string, mixed>',
366366
],
367367
];
368368
}

0 commit comments

Comments
 (0)