@@ -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 |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | /** |
| 242 | 242 | * {@inheritdoc} |
| 243 | 243 | */ |
| 244 | - public function foreach(callable $function): MapInterface |
|
| 244 | + public function foreach (callable $function): MapInterface |
|
| 245 | 245 | { |
| 246 | 246 | foreach ($this->pairs as $pair) { |
| 247 | 247 | $function($pair->key(), $pair->value()); |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | function(Stream $carry, $value): Stream { |
| 321 | 321 | return $carry->add($value); |
| 322 | 322 | } |
| 323 | - );; |
|
| 323 | + ); ; |
|
| 324 | 324 | } |
| 325 | 325 | |
| 326 | 326 | /** |