@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | require_once __DIR__.'/../vendor/autoload.php'; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Exception; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace { |
6 | 6 | require_once __DIR__.'/Conversion/implicit_conversion.php'; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Utils; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Utils; |
6 | 6 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | return $this->value; |
44 | 44 | } |
45 | 45 | |
46 | - public function foreach(callable $f): void |
|
46 | + public function foreach (callable $f): void |
|
47 | 47 | { |
48 | 48 | $f($this->value); |
49 | 49 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Utils; |
6 | 6 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param callable $f |
68 | 68 | */ |
69 | - abstract public function foreach(callable $f): void; |
|
69 | + abstract public function foreach (callable $f): void; |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Returns the given function applied to the value from this `Success` or returns this if this is a `Failure`. |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Utils; |
6 | 6 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | throw $this->error; |
41 | 41 | } |
42 | 42 | |
43 | - public function foreach(callable $f): void |
|
43 | + public function foreach (callable $f): void |
|
44 | 44 | { |
45 | 45 | } |
46 | 46 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Conversion; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Scalp\Conversion { |
6 | 6 | function NullToString(): string |