Test Setup Failed
Pull Request — master (#79)
by
unknown
01:24
created
src/Map.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -642,15 +642,15 @@
 block discarded – undo
642 642
      */
643 643
     private function compactPairRefs()
644 644
     {
645
-       // Renumber indices from 0 ascending.
646
-       $this->pairRefs = array_slice($this->pairRefs, 0);
647
-       $this->nextPairIndex = count($this->pairRefs);
645
+        // Renumber indices from 0 ascending.
646
+        $this->pairRefs = array_slice($this->pairRefs, 0);
647
+        $this->nextPairIndex = count($this->pairRefs);
648 648
 
649
-       $updateIndex = function(PairRef $pairRef, int $position): void {
650
-          $pairRef->pairIndex = $position;
651
-       };
649
+        $updateIndex = function(PairRef $pairRef, int $position): void {
650
+            $pairRef->pairIndex = $position;
651
+        };
652 652
 
653
-       array_walk($this->pairRefs, $updateIndex);
653
+        array_walk($this->pairRefs, $updateIndex);
654 654
     }
655 655
 
656 656
     /**
Please login to merge, or discard this patch.