@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function keys(): Set |
125 | 125 | { |
126 | - return new Set($this->pairs->map(function ($pair) { |
|
126 | + return new Set($this->pairs->map(function($pair) { |
|
127 | 127 | return $pair->key; |
128 | 128 | })); |
129 | 129 | } |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | */ |
185 | 185 | public function pairs(): SequenceableInterface |
186 | 186 | { |
187 | - return $this->pairs->map(function ($pair) { |
|
187 | + return $this->pairs->map(function($pair) { |
|
188 | 188 | return $pair->copy(); |
189 | 189 | }); |
190 | 190 | } |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | */ |
228 | 228 | public function values(): SequenceableInterface |
229 | 229 | { |
230 | - return $this->pairs->map(function ($pair) { |
|
230 | + return $this->pairs->map(function($pair) { |
|
231 | 231 | return $pair->value; |
232 | 232 | }); |
233 | 233 | } |
@@ -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 | } |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | class ImmutableArray extends FixedArray |
27 | 27 | { |
28 | 28 | /** |
29 | - * @inheritDoc |
|
30 | - */ |
|
29 | + * @inheritDoc |
|
30 | + */ |
|
31 | 31 | public function clear() |
32 | 32 | { |
33 | 33 | throw ImmutableException::cannotModify(__CLASS__, __METHOD__); |
@@ -82,8 +82,8 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @inheritDoc |
|
86 | - */ |
|
85 | + * @inheritDoc |
|
86 | + */ |
|
87 | 87 | public function set(int $index, $value) |
88 | 88 | { |
89 | 89 | throw ImmutableException::cannotModify(__CLASS__, __METHOD__); |
@@ -98,8 +98,8 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @inheritDoc |
|
102 | - */ |
|
101 | + * @inheritDoc |
|
102 | + */ |
|
103 | 103 | public function sort(callable $callback = null): SequenceableInterface |
104 | 104 | { |
105 | 105 | throw ImmutableException::cannotModify(__CLASS__, __METHOD__); |