Skip to content

Commit caec777

Browse files
committed
cs
1 parent 3b66d33 commit caec777

File tree

1 file changed

+33
-21
lines changed

1 file changed

+33
-21
lines changed

tests/PHPStan/Type/TypeCombinatorTest.php

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4863,31 +4863,43 @@ public function dataRemove(): array
48634863
],
48644864
[
48654865
new UnionType([
4866-
new ConstantArrayType([
4867-
new ConstantIntegerType(0),
4868-
], [
4869-
new MixedType(true),
4870-
],
4871-
[0], [], true
4866+
new ConstantArrayType(
4867+
[
4868+
new ConstantIntegerType(0),
4869+
],
4870+
[
4871+
new MixedType(true),
4872+
],
4873+
[0],
4874+
[],
4875+
true,
48724876
),
4873-
new ConstantArrayType([
4877+
new ConstantArrayType(
4878+
[
4879+
new ConstantIntegerType(0),
4880+
new ConstantIntegerType(1),
4881+
new ConstantIntegerType(2),
4882+
],
4883+
[
4884+
new MixedType(true),
4885+
new UnionType([new StringType(), new NullType()]),
4886+
new MixedType(true),
4887+
],
4888+
[0],
4889+
[],
4890+
true,
4891+
),
4892+
]),
4893+
new ConstantArrayType(
4894+
[
48744895
new ConstantIntegerType(0),
4875-
new ConstantIntegerType(1),
4876-
new ConstantIntegerType(2),
4877-
], [
4878-
new MixedType(true),
4879-
new UnionType([new StringType(), new NullType()]),
4896+
],
4897+
[
48804898
new MixedType(true),
48814899
],
4882-
[0], [], true
4883-
),
4884-
]),
4885-
new ConstantArrayType([
4886-
new ConstantIntegerType(0),
4887-
], [
4888-
new MixedType(true),
4889-
],
4890-
[0], [], true
4900+
[0],
4901+
[],
4902+
true,
48914903
),
48924904
ConstantArrayType::class,
48934905
'array{mixed, string|null, mixed}',

0 commit comments

Comments
 (0)