Browse Source

Merge branch 'master' into 3.0

* master:
  DX: fixing typo
SpacePossum 6 years ago
parent
commit
01f6b61925
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Fixer/FunctionNotation/ImplodeCallFixer.php

+ 2 - 2
src/Fixer/FunctionNotation/ImplodeCallFixer.php

@@ -109,9 +109,9 @@ final class ImplodeCallFixer extends AbstractFixer
                 }
 
                 // collect tokens from first argument
-                $firstArgumenteEndIndex = $argumentsIndices[\key($argumentsIndices)];
+                $firstArgumentEndIndex = $argumentsIndices[\key($argumentsIndices)];
                 $newSecondArgumentTokens = [];
-                for ($i = \key($argumentsIndices); $i <= $firstArgumenteEndIndex; ++$i) {
+                for ($i = \key($argumentsIndices); $i <= $firstArgumentEndIndex; ++$i) {
                     $newSecondArgumentTokens[] = clone $tokens[$i];
                     $tokens->clearAt($i);
                 }