Completed
Pull Request — master (#72)
by Nate
03:35
created
src/Annotation/ErrorBody.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\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Annotation/Body.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\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Annotation/PUT.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\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Annotation/HttpRequest.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\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Annotation/HeaderMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Annotation/PartMap.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\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Response.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/Internal/RetrofitResponse.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;
10 10
 
Please login to merge, or discard this patch.
src/Internal/HttpClientCall.php 1 patch
Spacing   +4 added lines, -4 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
 
@@ -102,16 +102,16 @@  discard block
 block discarded – undo
102 102
      * @return Call
103 103
      * @throws \LogicException
104 104
      */
105
-    public function enqueue(?callable $onResponse = null, ?callable $onFailure = null): Call
105
+    public function enqueue(? callable $onResponse = null, ? callable $onFailure = null) : Call
106 106
     {
107 107
         $this->client->sendAsync(
108 108
             $this->request(),
109
-            function (ResponseInterface $response) use ($onResponse) {
109
+            function(ResponseInterface $response) use ($onResponse) {
110 110
                 if ($onResponse !== null) {
111 111
                     $onResponse($this->createResponse($response));
112 112
                 }
113 113
             },
114
-            function (Throwable $throwable) use ($onFailure) {
114
+            function(Throwable $throwable) use ($onFailure) {
115 115
                 if ($onFailure === null) {
116 116
                     throw $throwable;
117 117
                 }
Please login to merge, or discard this patch.