@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -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 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -52,13 +52,13 @@ discard block |
||
52 | 52 | private function callableForNextExtension($index) |
53 | 53 | { |
54 | 54 | if (!array_key_exists($index, $this->parameterCheckers)) { |
55 | - return function (Authorization $authorization): Authorization { |
|
55 | + return function(Authorization $authorization): Authorization { |
|
56 | 56 | return $authorization; |
57 | 57 | }; |
58 | 58 | } |
59 | 59 | $parameterChecker = $this->parameterCheckers[$index]; |
60 | 60 | |
61 | - return function (Authorization $authorization) use ($parameterChecker, $index): Authorization { |
|
61 | + return function(Authorization $authorization) use ($parameterChecker, $index): Authorization { |
|
62 | 62 | return $parameterChecker->process($authorization, $this->callableForNextExtension($index + 1)); |
63 | 63 | }; |
64 | 64 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -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 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param string $message |
35 | 35 | * @param null|string $description |
36 | 36 | */ |
37 | - public function __construct(Authorization $authorization, string $message, ?string $description) |
|
37 | + public function __construct(Authorization $authorization, string $message, ? string $description) |
|
38 | 38 | { |
39 | 39 | parent::__construct($message); |
40 | 40 | $this->authorization = $authorization; |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * @return null|string |
54 | 54 | */ |
55 | - public function getDescription(): ?string |
|
55 | + public function getDescription(): ? string |
|
56 | 56 | { |
57 | 57 | return $this->description; |
58 | 58 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |