Skip to content

Commit d0e3640

Browse files
committed
simplify
1 parent cfd7914 commit d0e3640

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Analyser/MutatingScope.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5637,12 +5637,6 @@ private function compareVariableTypeHolders(array $variableTypeHolders, array $o
56375637
if (!$variableTypeHolder->getType()->equals($otherVariableTypeHolders[$variableExprString]->getType())) {
56385638
return false;
56395639
}
5640-
5641-
unset($otherVariableTypeHolders[$variableExprString]);
5642-
}
5643-
5644-
if (count($otherVariableTypeHolders) > 0) {
5645-
return false;
56465640
}
56475641

56485642
return true;

0 commit comments

Comments
 (0)