@@ -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 ($this->pairs->toArray() as $pair) { |
191 | 191 | $function($pair->key(), $pair->value()); |
@@ -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 | |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | /** |
183 | 183 | * @param callable(T, S): void $function |
184 | 184 | */ |
185 | - public function foreach(callable $function): void |
|
185 | + public function foreach (callable $function): void |
|
186 | 186 | { |
187 | 187 | foreach ($this->values as $k) { |
188 | 188 | /** @var T $key */ |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\ValidateArgument; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\ValidateArgument; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\ValidateArgument; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\ValidateArgument; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable\ValidateArgument; |
5 | 5 |
@@ -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\Sequence; |
5 | 5 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * @param callable(T): void $function |
153 | 153 | */ |
154 | - public function foreach(callable $function): void |
|
154 | + public function foreach (callable $function): void |
|
155 | 155 | { |
156 | 156 | foreach ($this->values as $value) { |
157 | 157 | $function($value); |
@@ -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\Sequence; |
5 | 5 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * |
88 | 88 | * @param callable(T): void $function |
89 | 89 | */ |
90 | - public function foreach(callable $function): void; |
|
90 | + public function foreach (callable $function): void; |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Return a new map of pairs grouped by keys determined with the given |