Skip to content

Commit 2661d96

Browse files
More
1 parent 74b397d commit 2661d96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/PHPStan/Type/TypeCombinatorTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5331,6 +5331,12 @@ public static function dataRemove(): array
53315331
ObjectShapeType::class,
53325332
'object{foo?: int}',
53335333
],
5334+
[
5335+
new IntersectionType([new ArrayType(new StringType(), new StringType()), new OversizedArrayType()]),
5336+
new ConstantArrayType([], []),
5337+
IntersectionType::class,
5338+
'non-empty-array<string, string>&oversized-array',
5339+
],
53345340
];
53355341
}
53365342

0 commit comments

Comments
 (0)