@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
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; |
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; |
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; |
5 | 5 | |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * |
140 | 140 | * @param callable(T, S): void $function |
141 | 141 | */ |
142 | - public function foreach(callable $function): SideEffect |
|
142 | + public function foreach (callable $function): SideEffect |
|
143 | 143 | { |
144 | 144 | return $this->implementation->foreach($function); |
145 | 145 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Immutable; |
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 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @param callable(T): void $function |
94 | 94 | */ |
95 | - public function foreach(callable $function): SideEffect; |
|
95 | + public function foreach (callable $function): SideEffect; |
|
96 | 96 | |
97 | 97 | /** |
98 | 98 | * Return a new map of pairs grouped by keys determined with the given |
@@ -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 | |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * @param callable(T): void $function |
148 | 148 | */ |
149 | - public function foreach(callable $function): SideEffect |
|
149 | + public function foreach (callable $function): SideEffect |
|
150 | 150 | { |
151 | 151 | foreach ($this->values as $value) { |
152 | 152 | $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 | |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | /** |
211 | 211 | * @param callable(T): void $function |
212 | 212 | */ |
213 | - public function foreach(callable $function): SideEffect |
|
213 | + public function foreach (callable $function): SideEffect |
|
214 | 214 | { |
215 | 215 | foreach ($this->iterator() as $value) { |
216 | 216 | $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 | |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | /** |
188 | 188 | * @param callable(T): void $function |
189 | 189 | */ |
190 | - public function foreach(callable $function): SideEffect |
|
190 | + public function foreach (callable $function): SideEffect |
|
191 | 191 | { |
192 | 192 | foreach ($this->values as $value) { |
193 | 193 | $function($value); |