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 Nov 27, 2023
1 parent aa13175 commit 1ff0095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/CodeQuality/Rector/NotEqual/CommonNotEqualRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private function doesNotEqualContainsShipCompareToken(NotEqual $notEqual): bool
$tokenStartPos = $notEqual->getStartTokenPos();
$tokenEndPos = $notEqual->getEndTokenPos();

for ($i = $tokenStartPos; $i < $tokenEndPos; $i++) {
for ($i = $tokenStartPos; $i < $tokenEndPos; ++$i) {
$token = $this->file->getOldTokens()[$i];
if (! isset($token[1])) {
continue;
Expand Down

0 comments on commit 1ff0095

Please sign in to comment.