Skip to content

Commit cfd7914

Browse files
committed
Fix MutatingScope->compareVariableTypeHolders()
1 parent 4292742 commit cfd7914

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Analyser/MutatingScope.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5641,6 +5641,10 @@ private function compareVariableTypeHolders(array $variableTypeHolders, array $o
56415641
unset($otherVariableTypeHolders[$variableExprString]);
56425642
}
56435643

5644+
if (count($otherVariableTypeHolders) > 0) {
5645+
return false;
5646+
}
5647+
56445648
return true;
56455649
}
56465650

0 commit comments

Comments
 (0)