Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 3, 2022
1 parent 113513a commit e7488cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ private function areTwoVariablesCrossAssign(
$nextVariable = $nextAssign->expr;

// is variable used later?
$nextUsedVariable = $this->betterNodeFinder->findFirst($stmtsAware, function (\PhpParser\Node $node) use (
$nextUsedVariable = $this->betterNodeFinder->findFirst($stmtsAware, function (Node $node) use (
$currentVariable,
$nextVariable
) {
): bool {
if (in_array($node, [$currentVariable, $nextVariable], true)) {
return false;
}
Expand Down

0 comments on commit e7488cc

Please sign in to comment.