Completed
Pull Request — master (#72)
by Nate
03:35
created
src/Internal/AnnotationHandler/HttpRequestAnnotHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/ResponseBodyConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/AnnotationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
34 34
         ServiceMethodBuilder $serviceMethodBuilder,
35 35
         ?Converter $converter,
36 36
         ?int $index
37
-    ): void;
37
+    ) : void;
38 38
 }
Please login to merge, or discard this patch.
src/HttpClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ConverterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/RetrofitBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/RequestBodyConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Proxy/AbstractProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Finder/ServiceResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.