Completed
Pull Request — master (#14)
by
unknown
01:55
created
src/Envelopes/Builder.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
             $this->type,
559 559
             $this->sequenceId,
560 560
             $this->identities,
561
-            array_filter($this->data, function ($data) {
561
+            array_filter($this->data, function($data) {
562 562
                 return $data !== null;
563 563
             })
564 564
         );
@@ -1138,7 +1138,7 @@  discard block
 block discarded – undo
1138 1138
         $payoutTimestamp,
1139 1139
         $payoutAmount,
1140 1140
         $payoutCurrency,
1141
-        $payoutCardId =  null,
1141
+        $payoutCardId = null,
1142 1142
         $payoutAccountId = null,
1143 1143
         $payoutMethod = null,
1144 1144
         $payoutSystem = null,
Please login to merge, or discard this patch.
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -608,30 +608,30 @@  discard block
 block discarded – undo
608 608
 
609 609
         return $builder
610 610
             ->addTransferData(
611
-               $eventId,
612
-               $eventTimestamp,
613
-               $amount,
614
-               $currency,
615
-               $accountId,
616
-               $secondAccountId,
617
-               $accountSystem,
618
-               $amountConverted,
619
-               $method,
620
-               $operation,
621
-               $secondEmail,
622
-               $secondPhone,
623
-               $secondBirthDate,
624
-               $secondFirstname,
625
-               $secondLastname,
626
-               $secondFullname,
627
-               $secondState,
628
-               $secondCity,
629
-               $secondAddress,
630
-               $secondZip,
631
-               $secondGender,
632
-               $secondCountry,
633
-               $iban,
634
-               $secondIban
611
+                $eventId,
612
+                $eventTimestamp,
613
+                $amount,
614
+                $currency,
615
+                $accountId,
616
+                $secondAccountId,
617
+                $accountSystem,
618
+                $amountConverted,
619
+                $method,
620
+                $operation,
621
+                $secondEmail,
622
+                $secondPhone,
623
+                $secondBirthDate,
624
+                $secondFirstname,
625
+                $secondLastname,
626
+                $secondFullname,
627
+                $secondState,
628
+                $secondCity,
629
+                $secondAddress,
630
+                $secondZip,
631
+                $secondGender,
632
+                $secondCountry,
633
+                $iban,
634
+                $secondIban
635 635
             )
636 636
             ->addUserData(
637 637
                 $email,
@@ -702,7 +702,7 @@  discard block
 block discarded – undo
702 702
             $pspReason,
703 703
             $arn,
704 704
             $paymentAccountId
705
-       );
705
+        );
706 706
     }
707 707
 
708 708
     /**
Please login to merge, or discard this patch.
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.