Test Setup Failed
Pull Request — master (#79)
by
unknown
01:24
created
src/Map.php 2 patches
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.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -964,7 +964,8 @@
 block discarded – undo
964 964
  * @template-covariant TKey
965 965
  * @template-covariant TValue
966 966
  */
967
-final class PairRef {
967
+final class PairRef
968
+{
968 969
     /**
969 970
      * @var int
970 971
      */
Please login to merge, or discard this patch.