Skip to content

Commit 406203b

Browse files
committed
fix build
1 parent 98bb312 commit 406203b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ public function specifyTypesInCondition(
256256
if (
257257
$isNormalCount->yes()
258258
&& $argType instanceof UnionType
259+
&& $argType->isConstantArray()->yes()
259260
&& $leftType instanceof ConstantIntegerType
260261
) {
261262
if ($orEqual) {

0 commit comments

Comments
 (0)