@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Sets the request method, uri, and whether or not the request contains a body |
26 | 26 | * |
27 | - * @param HttpRequest|AbstractAnnotation $annotation The annotation to handle |
|
27 | + * @param AbstractAnnotation $annotation The annotation to handle |
|
28 | 28 | * @param ServiceMethodBuilder $serviceMethodBuilder Used to construct a [@see ServiceMethod] |
29 | 29 | * @param Converter|null $converter Converter used to convert types before sending to service method |
30 | 30 | * @param int|null $index The position of the parameter or null if annotation does not reference parameter |
@@ -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\Internal\AnnotationHandler; |
10 | 10 | |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | ServiceMethodBuilder $serviceMethodBuilder, |
37 | 37 | ?Converter $converter, |
38 | 38 | ?int $index |
39 | - ): void { |
|
39 | + ) : void { |
|
40 | 40 | $uri = $annotation->getValue(); |
41 | 41 | |
42 | 42 | $serviceMethodBuilder->setMethod($annotation->getType()); |
@@ -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; |
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; |
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; |
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; |
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\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 | } |