Completed
Pull Request — master (#72)
by Nate
03:35
created
src/Internal/AnnotationProcessor.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\Internal;
10 10
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         }
99 99
 
100 100
         throw new LogicException(sprintf(
101
-            'Retrofit: Could not find parameter named %s in %s::%s. Please double check that annotations are properly ' .
101
+            'Retrofit: Could not find parameter named %s in %s::%s. Please double check that annotations are properly '.
102 102
             'referencing method parameters.',
103 103
             $name,
104 104
             $reflectionMethod->getDeclaringClass()->getName(),
Please login to merge, or discard this patch.
src/Internal/Filesystem.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\Internal;
10 10
 
@@ -39,6 +39,6 @@  discard block
 block discarded – undo
39 39
     {
40 40
         $written = file_put_contents($filename, $contents);
41 41
 
42
-        return !((int)$written === 0);
42
+        return !((int) $written === 0);
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Internal/CallAdapter/CallAdapterProvider.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\Internal\CallAdapter;
10 10
 
Please login to merge, or discard this patch.
src/Internal/CallAdapter/DefaultCallAdapter.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\Internal\CallAdapter;
10 10
 
Please login to merge, or discard this patch.
src/Internal/CallAdapter/DefaultCallAdapterFactory.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\Internal\CallAdapter;
10 10
 
Please login to merge, or discard this patch.
src/Internal/AnnotationHandler/QueryMapAnnotHandler.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\Internal\AnnotationHandler;
10 10
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         ServiceMethodBuilder $serviceMethodBuilder,
38 38
         ?Converter $converter,
39 39
         ?int $index
40
-    ): void {
40
+    ) : void {
41 41
         $serviceMethodBuilder->addParameterHandler(
42 42
             $index,
43 43
             new QueryMapParamHandler($converter, $annotation->isEncoded())
Please login to merge, or discard this patch.
src/Internal/AnnotationHandler/FieldMapAnnotHandler.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\Internal\AnnotationHandler;
10 10
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         ServiceMethodBuilder $serviceMethodBuilder,
38 38
         ?Converter $converter,
39 39
         ?int $index
40
-    ): void {
40
+    ) : void {
41 41
         $serviceMethodBuilder->setIsFormUrlEncoded();
42 42
         $serviceMethodBuilder->addParameterHandler(
43 43
             $index,
Please login to merge, or discard this patch.
src/Internal/AnnotationHandler/FieldAnnotHandler.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\Internal\AnnotationHandler;
10 10
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         ServiceMethodBuilder $serviceMethodBuilder,
38 38
         ?Converter $converter,
39 39
         ?int $index
40
-    ): void {
40
+    ) : void {
41 41
         $serviceMethodBuilder->setIsFormUrlEncoded();
42 42
         $serviceMethodBuilder->addParameterHandler(
43 43
             $index,
Please login to merge, or discard this patch.
src/Internal/AnnotationHandler/PathAnnotHandler.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\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
         $serviceMethodBuilder->addParameterHandler($index, new PathParamHandler($converter, $annotation->getValue()));
41 41
     }
42 42
 }
Please login to merge, or discard this patch.