Skip to content

Commit 20a1e25

Browse files
Fix phpstan build
1 parent d824624 commit 20a1e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/TypeCombinator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ public static function intersect(Type ...$types): Type
14991499
return $types[0];
15001500
}
15011501

1502-
return new IntersectionType(array_values($types));
1502+
return new IntersectionType($types);
15031503
}
15041504

15051505
public static function removeFalsey(Type $type): Type

0 commit comments

Comments
 (0)