@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable; |
5 | 5 | |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | * |
240 | 240 | * @param callable(T): void $function |
241 | 241 | */ |
242 | - public function foreach(callable $function): void |
|
242 | + public function foreach (callable $function): void |
|
243 | 243 | { |
244 | 244 | $this->implementation->foreach($function); |
245 | 245 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\Map; |
5 | 5 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | /** |
186 | 186 | * @param callable(T, S): void $function |
187 | 187 | */ |
188 | - public function foreach(callable $function): void |
|
188 | + public function foreach (callable $function): void |
|
189 | 189 | { |
190 | 190 | foreach (unwrap($this->pairs) as $pair) { |
191 | 191 | $function($pair->key(), $pair->value()); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\Exception; |
5 | 5 |