@@ -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 | } |
@@ -26,9 +26,9 @@ |
||
26 | 26 | public static function cannotAccessWhenEmpty($class, $method) |
27 | 27 | { |
28 | 28 | return new static(sprintf( |
29 | - '`%s` cannot be called when the `%s` structure is empty', |
|
30 | - $method, |
|
31 | - $class |
|
32 | - )); |
|
29 | + '`%s` cannot be called when the `%s` structure is empty', |
|
30 | + $method, |
|
31 | + $class |
|
32 | + )); |
|
33 | 33 | } |
34 | 34 | } |