@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | private function delete(int $position) |
75 | 75 | { |
76 | - $pair = $this->pairs->remove($position); |
|
76 | + $pair = $this->pairs->remove($position); |
|
77 | 77 | |
78 | 78 | $this->checkCapacity(); |
79 | 79 | return $pair->value; |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | public function keys(): Set |
154 | 154 | { |
155 | - return new Set($this->pairs->map(function ($pair) { |
|
155 | + return new Set($this->pairs->map(function($pair) { |
|
156 | 156 | return $pair->key; |
157 | 157 | })); |
158 | 158 | } |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | */ |
231 | 231 | public function pairs(): SequenceableInterface |
232 | 232 | { |
233 | - return $this->pairs->map(function ($pair) { |
|
233 | + return $this->pairs->map(function($pair) { |
|
234 | 234 | return $pair->copy(); |
235 | 235 | }); |
236 | 236 | } |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | */ |
333 | 333 | public function values(): SequenceableInterface |
334 | 334 | { |
335 | - return $this->pairs->map(function ($pair) { |
|
335 | + return $this->pairs->map(function($pair) { |
|
336 | 336 | return $pair->value; |
337 | 337 | }); |
338 | 338 | } |
@@ -156,7 +156,7 @@ |
||
156 | 156 | */ |
157 | 157 | public function getIterator() |
158 | 158 | { |
159 | - while (! $this->isEmpty()) { |
|
159 | + while (!$this->isEmpty()) { |
|
160 | 160 | yield $this->pop(); |
161 | 161 | } |
162 | 162 | } |