Skip to content

Commit 92b8af8

Browse files
committed
fix
1 parent 59a1dfc commit 92b8af8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,8 +1588,7 @@ private function getConditionalSpecifiedTypes(
15881588
(
15891589
$argumentExpr instanceof Node\Scalar
15901590
|| ($argumentExpr instanceof ConstFetch && in_array(strtolower($argumentExpr->name->toString()), ['true', 'false', 'null'], true))
1591-
&& ($ifType instanceof NeverType || $elseType instanceof NeverType)
1592-
)
1591+
) && ($ifType instanceof NeverType || $elseType instanceof NeverType)
15931592
) {
15941593
return null;
15951594
}

0 commit comments

Comments
 (0)