@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -198,7 +198,7 @@ |
||
198 | 198 | /** |
199 | 199 | * {@inheritdoc} |
200 | 200 | */ |
201 | - public function foreach(\Closure $function): SequenceInterface |
|
201 | + public function foreach (\Closure $function): SequenceInterface |
|
202 | 202 | { |
203 | 203 | foreach ($this->values as $value) { |
204 | 204 | $function($value); |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * {@inheritdoc} |
268 | 268 | */ |
269 | - public function foreach(\Closure $function): MapInterface |
|
269 | + public function foreach (\Closure $function): MapInterface |
|
270 | 270 | { |
271 | 271 | foreach ($this->keys as $index => $key) { |
272 | 272 | $function($key, $this->values->get($index)); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -185,7 +185,7 @@ |
||
185 | 185 | /** |
186 | 186 | * {@inheritdoc} |
187 | 187 | */ |
188 | - public function foreach(\Closure $function): SetInterface |
|
188 | + public function foreach (\Closure $function): SetInterface |
|
189 | 189 | { |
190 | 190 | $this->values->foreach($function); |
191 | 191 |