Skip to content

Commit 709fbd0

Browse files
committed
cheap check first
1 parent 76fd431 commit 709fbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4096,8 +4096,8 @@ private function createConditionalExpressions(
40964096

40974097
if (
40984098
array_key_exists($exprString, $newVariableTypes)
4099-
&& $newVariableTypes[$exprString]->equalTypes($holder)
41004099
&& !$newVariableTypes[$exprString]->getCertainty()->equals($holder->getCertainty())
4100+
&& $newVariableTypes[$exprString]->equalTypes($holder)
41014101
) {
41024102
continue;
41034103
}

0 commit comments

Comments
 (0)