Passed
Push — master ( 71f1ac...8b2ffe )
by Lucas
02:10
created
src/Model/Address.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,10 +79,8 @@
 block discarded – undo
79 79
             null,
80 80
             fn($value, $ctx) =>
81 81
             is_null($value) ?
82
-            $value :
83
-            (
84
-                is_numeric($value) ? strval($value) :
85
-                $ctx->raise('inválido')
82
+            $value : (
83
+                is_numeric($value) ? strval($value) : $ctx->raise('inválido')
86 84
             )
87 85
         );
88 86
     }
Please login to merge, or discard this patch.
src/Core/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,6 +194,6 @@
 block discarded – undo
194 194
 
195 195
     private function incrementRequestCounter(): int
196 196
     {
197
-        return ++self::$requestCounter;
197
+        return++self::$requestCounter;
198 198
     }
199 199
 }
200 200
\ No newline at end of file
Please login to merge, or discard this patch.
src/Endpoint/FutureTransferEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/SubscriptionEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/SubscriptionPlanEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/ChargeEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/CustomerEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/SellerTransferEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.
src/Endpoint/WebhookEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param array|null $filters
58 58
      * @return Response
59 59
      */
60
-    public function list(?array $filters = []): Response
60
+    public function list(?array $filters = []) : Response
61 61
     {
62 62
         return $this->_GET($filters ?? []);
63 63
     }
Please login to merge, or discard this patch.