Completed
Pull Request — master (#49)
by
unknown
15s
created
src/Envelopes/ValidatorV1.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -405,7 +405,7 @@
 block discarded – undo
405 405
                                 $key,
406 406
                                 $value === null ? 'null' : gettype($value)
407 407
                             );
408
-                        } elseif (strlen($value) > (int)$matches[1]) {
408
+                        } elseif (strlen($value) > (int) $matches[1]) {
409 409
                             $details[] = sprintf(
410 410
                                 'Received %d bytes of %s allowed for string key "%s" - value is too long',
411 411
                                 strlen($value),
Please login to merge, or discard this patch.
src/PublicAPIClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
                 $data[ResultBaseField::MANUAL],
266 266
                 isset($data[ResultBaseField::REASON]) ? $data[ResultBaseField::REASON] : null,
267 267
                 isset($data[ResultBaseField::ACTION]) ? $data[ResultBaseField::ACTION] : null,
268
-                array_filter($data, function ($field) {
268
+                array_filter($data, function($field) {
269 269
                     return !in_array($field, ResultBaseField::getAll());
270 270
                 }, ARRAY_FILTER_USE_KEY)
271 271
             );
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                 isset($data[KycProofResultBaseField::DOCUMENT_PROOF]) ? $data[KycProofResultBaseField::DOCUMENT_PROOF] : null,
306 306
                 isset($data[KycProofResultBaseField::DOCUMENT_TWO_PROOF]) ? $data[KycProofResultBaseField::DOCUMENT_TWO_PROOF] : null,
307 307
                 isset($data[KycProofResultBaseField::CONSENT_PROOF]) ? $data[KycProofResultBaseField::CONSENT_PROOF] : null,
308
-                array_filter($data, function ($field) {
308
+                array_filter($data, function($field) {
309 309
                     return !in_array($field, KycProofResultBaseField::getAll());
310 310
                 }, ARRAY_FILTER_USE_KEY)
311 311
             );
Please login to merge, or discard this patch.
src/Loggers/FileLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
         $logContent = $this->formatLogEntry($level, $message, $context);
49 49
 
50
-        file_put_contents($this->filePath, $logContent, FILE_APPEND );
50
+        file_put_contents($this->filePath, $logContent, FILE_APPEND);
51 51
     }
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
src/CardId/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     public function build()
52 52
     {
53 53
         return new CardId(
54
-            array_filter($this->data, function ($data) {
54
+            array_filter($this->data, function($data) {
55 55
                 return $data !== null;
56 56
             })
57 57
         );
Please login to merge, or discard this patch.
src/DocumentStorage/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     public function build()
166 166
     {
167 167
         return new DocumentStorage(
168
-            array_filter($this->data, function ($data) {
168
+            array_filter($this->data, function($data) {
169 169
                 return $data !== null;
170 170
             })
171 171
         );
Please login to merge, or discard this patch.
src/DocumentConnection/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function build()
61 61
     {
62 62
         return new DocumentConnection(
63
-            array_filter($this->data, function ($data) {
63
+            array_filter($this->data, function($data) {
64 64
                 return $data !== null;
65 65
             })
66 66
         );
Please login to merge, or discard this patch.
src/DocumentFileUploader/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function build()
61 61
     {
62 62
         return new DocumentFileUploader(
63
-            array_filter($this->data, function ($data) {
63
+            array_filter($this->data, function($data) {
64 64
                 return $data !== null;
65 65
             })
66 66
         );
Please login to merge, or discard this patch.
src/Envelopes/Builder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1107,7 +1107,7 @@  discard block
 block discarded – undo
1107 1107
         $description = null,
1108 1108
         $country = null,
1109 1109
         $state = null,
1110
-        $city =  null,
1110
+        $city = null,
1111 1111
         $zip = null,
1112 1112
         $address = null,
1113 1113
         $addressConfirmed = null,
@@ -2211,7 +2211,7 @@  discard block
 block discarded – undo
2211 2211
             $this->type,
2212 2212
             $this->sequenceId,
2213 2213
             $this->identities,
2214
-            array_filter($this->data, function ($data) {
2214
+            array_filter($this->data, function($data) {
2215 2215
                 return $data !== null;
2216 2216
             })
2217 2217
         );
@@ -2891,7 +2891,7 @@  discard block
 block discarded – undo
2891 2891
         $payoutTimestamp,
2892 2892
         $payoutAmount,
2893 2893
         $payoutCurrency,
2894
-        $payoutCardId =  null,
2894
+        $payoutCardId = null,
2895 2895
         $payoutAccountId = null,
2896 2896
         $payoutMethod = null,
2897 2897
         $payoutSystem = null,
@@ -3996,7 +3996,7 @@  discard block
 block discarded – undo
3996 3996
         $description = null,
3997 3997
         $country = null,
3998 3998
         $state = null,
3999
-        $city =  null,
3999
+        $city = null,
4000 4000
         $zip = null,
4001 4001
         $address = null,
4002 4002
         $addressConfirmed = null,
Please login to merge, or discard this patch.