Skip to content

Commit

Permalink
fixup! misc
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Mar 19, 2021
1 parent 0ced628 commit 9d4d71a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ function (Node $node) use ($foreachedValue, $singleValue, $keyValueName): ?Expr
}

// is dim same as key value name, ...[$i]
// if ($node->dim === null) {
// return null;
// }
//
if (! $node->dim instanceof Variable) {
return null;
}
Expand Down

0 comments on commit 9d4d71a

Please sign in to comment.