Completed
Pull Request — master (#51)
by
unknown
39s
created
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.
src/Envelopes/ValidatorV1.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1129,7 +1129,7 @@  discard block
 block discarded – undo
1129 1129
                                 $key,
1130 1130
                                 $value === null ? 'null' : gettype($value)
1131 1131
                             );
1132
-                        } elseif (strlen($value) > (int)$matches[1]) {
1132
+                        } elseif (strlen($value) > (int) $matches[1]) {
1133 1133
                             $details[] = sprintf(
1134 1134
                                 'Received %d bytes of %s allowed for string key "%s" - value is too long',
1135 1135
                                 strlen($value),
@@ -1231,7 +1231,7 @@  discard block
 block discarded – undo
1231 1231
     {
1232 1232
         $details = array();
1233 1233
         if (!empty($cardPan)) {
1234
-            $numberStr = (string)$cardPan;
1234
+            $numberStr = (string) $cardPan;
1235 1235
 
1236 1236
             $length = strlen($numberStr);
1237 1237
             if ($length < 14) {
@@ -1260,7 +1260,7 @@  discard block
 block discarded – undo
1260 1260
             $alt = false;
1261 1261
 
1262 1262
             for ($i = $length - 1; $i >= 0; $i--) {
1263
-                $n = (int)$numberStr[$i];
1263
+                $n = (int) $numberStr[$i];
1264 1264
                 if ($alt) {
1265 1265
                     $n *= 2;
1266 1266
                     if ($n > 9) {
Please login to merge, or discard this patch.