@@ -191,7 +191,7 @@ |
||
191 | 191 | /** |
192 | 192 | * {@inheritdoc} |
193 | 193 | */ |
194 | - public function foreach(callable $function): SetInterface |
|
194 | + public function foreach (callable $function): SetInterface |
|
195 | 195 | { |
196 | 196 | $this->values->foreach($function); |
197 | 197 |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @return self |
91 | 91 | */ |
92 | - public function foreach(callable $function): self; |
|
92 | + public function foreach (callable $function): self; |
|
93 | 93 | |
94 | 94 | /** |
95 | 95 | * Return a new map of pairs grouped by keys determined with the given |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * |
86 | 86 | * @return self<T> |
87 | 87 | */ |
88 | - public function foreach(callable $function): self; |
|
88 | + public function foreach (callable $function): self; |
|
89 | 89 | |
90 | 90 | /** |
91 | 91 | * 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(callable $function): SequenceInterface |
|
201 | + public function foreach (callable $function): SequenceInterface |
|
202 | 202 | { |
203 | 203 | foreach ($this->values as $value) { |
204 | 204 | $function($value); |
@@ -264,7 +264,7 @@ |
||
264 | 264 | /** |
265 | 265 | * {@inheritdoc} |
266 | 266 | */ |
267 | - public function foreach(callable $function): MapInterface |
|
267 | + public function foreach (callable $function): MapInterface |
|
268 | 268 | { |
269 | 269 | foreach ($this->pairs as $pair) { |
270 | 270 | $function($pair->key(), $pair->value()); |
@@ -213,7 +213,7 @@ |
||
213 | 213 | /** |
214 | 214 | * {@inheritdoc} |
215 | 215 | */ |
216 | - public function foreach(callable $function): StreamInterface |
|
216 | + public function foreach (callable $function): StreamInterface |
|
217 | 217 | { |
218 | 218 | $this->values->foreach($function); |
219 | 219 |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * |
88 | 88 | * @return self<T, S> |
89 | 89 | */ |
90 | - public function foreach(callable $function): self; |
|
90 | + public function foreach (callable $function): self; |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Return a new map of pairs' sequences grouped by keys determined with the given |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * |
86 | 86 | * @return self<T> |
87 | 87 | */ |
88 | - public function foreach(callable $function): self; |
|
88 | + public function foreach (callable $function): self; |
|
89 | 89 | |
90 | 90 | /** |
91 | 91 | * Return a new map of pairs grouped by keys determined with the given |