@@ -642,15 +642,15 @@ |
||
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 | /** |