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 May 31, 2022
1 parent 6aa1c92 commit 5a79711
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ public function resolveFromStmtsAndVariable(array $stmts, Variable $variable): a
$alwaysStringKey = false;
}
}

// not united
if ($alwaysNullKey) {
return $keysAndExprs;
}

if ($alwaysStringKey) {
return $keysAndExprs;
}

return [];
}

Expand Down

0 comments on commit 5a79711

Please sign in to comment.