Skip to content

Commit 07a2469

Browse files
committed
cs
1 parent 2f692c6 commit 07a2469

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
@@ -4878,31 +4878,43 @@ public function dataRemove(): array
48784878
],
48794879
[
48804880
new UnionType([
4881-
new ConstantArrayType([
4882-
new ConstantIntegerType(0),
4883-
], [
4884-
new MixedType(true),
4885-
],
4886-
[0], [], true
4881+
new ConstantArrayType(
4882+
[
4883+
new ConstantIntegerType(0),
4884+
],
4885+
[
4886+
new MixedType(true),
4887+
],
4888+
[0],
4889+
[],
4890+
true,
48874891
),
4888-
new ConstantArrayType([
4892+
new ConstantArrayType(
4893+
[
4894+
new ConstantIntegerType(0),
4895+
new ConstantIntegerType(1),
4896+
new ConstantIntegerType(2),
4897+
],
4898+
[
4899+
new MixedType(true),
4900+
new UnionType([new StringType(), new NullType()]),
4901+
new MixedType(true),
4902+
],
4903+
[0],
4904+
[],
4905+
true,
4906+
),
4907+
]),
4908+
new ConstantArrayType(
4909+
[
48894910
new ConstantIntegerType(0),
4890-
new ConstantIntegerType(1),
4891-
new ConstantIntegerType(2),
4892-
], [
4893-
new MixedType(true),
4894-
new UnionType([new StringType(), new NullType()]),
4911+
],
4912+
[
48954913
new MixedType(true),
48964914
],
4897-
[0], [], true
4898-
),
4899-
]),
4900-
new ConstantArrayType([
4901-
new ConstantIntegerType(0),
4902-
], [
4903-
new MixedType(true),
4904-
],
4905-
[0], [], true
4915+
[0],
4916+
[],
4917+
true,
49064918
),
49074919
ConstantArrayType::class,
49084920
'array{mixed, string|null, mixed}',

0 commit comments

Comments
 (0)