Completed
Pull Request — master (#11)
by
unknown
02: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   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -582,28 +582,28 @@  discard block
 block discarded – undo
582 582
 
583 583
         return $builder
584 584
             ->addTransferData(
585
-               $eventId,
586
-               $eventTimestamp,
587
-               $amount,
588
-               $currency,
589
-               $accountId,
590
-               $secondAccountId,
591
-               $accountSystem,
592
-               $amountConverted,
593
-               $method,
594
-               $operation,
595
-               $secondEmail,
596
-               $secondPhone,
597
-               $secondBirthDate,
598
-               $secondFirstname,
599
-               $secondLastname,
600
-               $secondFullname,
601
-               $secondState,
602
-               $secondCity,
603
-               $secondAddress,
604
-               $secondZip,
605
-               $secondGender,
606
-               $secondCountry
585
+                $eventId,
586
+                $eventTimestamp,
587
+                $amount,
588
+                $currency,
589
+                $accountId,
590
+                $secondAccountId,
591
+                $accountSystem,
592
+                $amountConverted,
593
+                $method,
594
+                $operation,
595
+                $secondEmail,
596
+                $secondPhone,
597
+                $secondBirthDate,
598
+                $secondFirstname,
599
+                $secondLastname,
600
+                $secondFullname,
601
+                $secondState,
602
+                $secondCity,
603
+                $secondAddress,
604
+                $secondZip,
605
+                $secondGender,
606
+                $secondCountry
607 607
             )
608 608
             ->addUserData(
609 609
                 $email,
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
             $pspReason,
674 674
             $arn,
675 675
             $paymentAccountId
676
-       );
676
+        );
677 677
     }
678 678
 
679 679
     /**
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.