Skip to content

Commit

Permalink
remove unnecessary unset()
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 3, 2023
1 parent 5ed3fea commit 386075f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Analyser/MutatingScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -3850,10 +3850,6 @@ public function filterBySpecifiedTypes(SpecifiedTypes $specifiedTypes): self
);
} else {
$scope = $scope->unsetExpression($expr);
$exprString = $this->getNodeKey($expr);

unset($scope->expressionTypes[$exprString]);
unset($scope->nativeExpressionTypes[$exprString]);
}

continue;
Expand Down

0 comments on commit 386075f

Please sign in to comment.