Completed
Pull Request — master (#44)
by
unknown
12s
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/Envelopes/Builder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -924,7 +924,7 @@  discard block
 block discarded – undo
924 924
         $description = null,
925 925
         $country = null,
926 926
         $state = null,
927
-        $city =  null,
927
+        $city = null,
928 928
         $zip = null,
929 929
         $address = null,
930 930
         $addressConfirmed = null,
@@ -1631,7 +1631,7 @@  discard block
 block discarded – undo
1631 1631
      * @return Builder
1632 1632
      */
1633 1633
     public static function postBackEvent(
1634
-        $requestId =  null,
1634
+        $requestId = null,
1635 1635
         $transactionId = null,
1636 1636
         $transactionStatus = null,
1637 1637
         $code = null,
@@ -1698,7 +1698,7 @@  discard block
 block discarded – undo
1698 1698
             $this->type,
1699 1699
             $this->sequenceId,
1700 1700
             $this->identities,
1701
-            array_filter($this->data, function ($data) {
1701
+            array_filter($this->data, function($data) {
1702 1702
                 return $data !== null;
1703 1703
             })
1704 1704
         );
@@ -2372,7 +2372,7 @@  discard block
 block discarded – undo
2372 2372
         $payoutTimestamp,
2373 2373
         $payoutAmount,
2374 2374
         $payoutCurrency,
2375
-        $payoutCardId =  null,
2375
+        $payoutCardId = null,
2376 2376
         $payoutAccountId = null,
2377 2377
         $payoutMethod = null,
2378 2378
         $payoutSystem = null,
@@ -3421,7 +3421,7 @@  discard block
 block discarded – undo
3421 3421
         $description = null,
3422 3422
         $country = null,
3423 3423
         $state = null,
3424
-        $city =  null,
3424
+        $city = null,
3425 3425
         $zip = null,
3426 3426
         $address = null,
3427 3427
         $addressConfirmed = null,
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/MediaStorage/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     public function build()
90 90
     {
91 91
         return new MediaStorage(
92
-            array_filter($this->data, function ($data) {
92
+            array_filter($this->data, function($data) {
93 93
                 return $data !== null;
94 94
             })
95 95
         );
Please login to merge, or discard this patch.
src/MediaConnection/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function build()
55 55
     {
56 56
         return new MediaConnection(
57
-            array_filter($this->data, function ($data) {
57
+            array_filter($this->data, function($data) {
58 58
                 return $data !== null;
59 59
             })
60 60
         );
Please login to merge, or discard this patch.