@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit; |
| 10 | 10 | |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit; |
| 10 | 10 | |
@@ -34,5 +34,5 @@ discard block |
||
| 34 | 34 | ServiceMethodBuilder $serviceMethodBuilder, |
| 35 | 35 | ?Converter $converter, |
| 36 | 36 | ?int $index |
| 37 | - ): void; |
|
| 37 | + ) : void; |
|
| 38 | 38 | } |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Proxy; |
| 10 | 10 | |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Finder; |
| 10 | 10 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $className .= $namespaceMatches[1]; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - $className .= '\\' . $interfaceMatches[1]; |
|
| 64 | + $className .= '\\'.$interfaceMatches[1]; |
|
| 65 | 65 | |
| 66 | 66 | $services[] = $className; |
| 67 | 67 | } |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Http; |
| 10 | 10 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Annotation; |
| 10 | 10 | |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Annotation; |
| 10 | 10 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | protected function init(): void |
| 37 | 37 | { |
| 38 | 38 | // loop through each string and break on ':' |
| 39 | - foreach ((array)$this->getValue() as $header) { |
|
| 39 | + foreach ((array) $this->getValue() as $header) { |
|
| 40 | 40 | $position = strpos($header, ':'); |
| 41 | 41 | |
| 42 | 42 | if ($position === false) { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | $name = trim(substr($header, 0, $position)); |
| 47 | 47 | $value = trim(substr($header, $position + 1)); |
| 48 | 48 | |
| 49 | - $this->value[$name] = (string)$value; |
|
| 49 | + $this->value[$name] = (string) $value; |
|
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Tebru\Retrofit\Annotation; |
| 6 | 6 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Retrofit\Internal; |
| 10 | 10 | |