@@ -405,7 +405,7 @@ |
||
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), |
@@ -679,7 +679,7 @@ discard block |
||
679 | 679 | * @return Builder |
680 | 680 | */ |
681 | 681 | public static function postBackEvent( |
682 | - $requestId = null, |
|
682 | + $requestId = null, |
|
683 | 683 | $transactionId = null, |
684 | 684 | $transactionStatus = null, |
685 | 685 | $code = null, |
@@ -739,7 +739,7 @@ discard block |
||
739 | 739 | $this->type, |
740 | 740 | $this->sequenceId, |
741 | 741 | $this->identities, |
742 | - array_filter($this->data, function ($data) { |
|
742 | + array_filter($this->data, function($data) { |
|
743 | 743 | return $data !== null; |
744 | 744 | }) |
745 | 745 | ); |
@@ -1391,7 +1391,7 @@ discard block |
||
1391 | 1391 | $payoutTimestamp, |
1392 | 1392 | $payoutAmount, |
1393 | 1393 | $payoutCurrency, |
1394 | - $payoutCardId = null, |
|
1394 | + $payoutCardId = null, |
|
1395 | 1395 | $payoutAccountId = null, |
1396 | 1396 | $payoutMethod = null, |
1397 | 1397 | $payoutSystem = null, |
@@ -610,31 +610,31 @@ discard block |
||
610 | 610 | |
611 | 611 | return $builder |
612 | 612 | ->addTransferData( |
613 | - $eventId, |
|
614 | - $eventTimestamp, |
|
615 | - $amount, |
|
616 | - $currency, |
|
617 | - $accountId, |
|
618 | - $secondAccountId, |
|
619 | - $accountSystem, |
|
620 | - $amountConverted, |
|
621 | - $method, |
|
622 | - $operation, |
|
623 | - $secondEmail, |
|
624 | - $secondPhone, |
|
625 | - $secondBirthDate, |
|
626 | - $secondFirstname, |
|
627 | - $secondLastname, |
|
628 | - $secondFullname, |
|
629 | - $secondState, |
|
630 | - $secondCity, |
|
631 | - $secondAddress, |
|
632 | - $secondZip, |
|
633 | - $secondGender, |
|
634 | - $secondCountry, |
|
635 | - $iban, |
|
636 | - $secondIban, |
|
637 | - $bic |
|
613 | + $eventId, |
|
614 | + $eventTimestamp, |
|
615 | + $amount, |
|
616 | + $currency, |
|
617 | + $accountId, |
|
618 | + $secondAccountId, |
|
619 | + $accountSystem, |
|
620 | + $amountConverted, |
|
621 | + $method, |
|
622 | + $operation, |
|
623 | + $secondEmail, |
|
624 | + $secondPhone, |
|
625 | + $secondBirthDate, |
|
626 | + $secondFirstname, |
|
627 | + $secondLastname, |
|
628 | + $secondFullname, |
|
629 | + $secondState, |
|
630 | + $secondCity, |
|
631 | + $secondAddress, |
|
632 | + $secondZip, |
|
633 | + $secondGender, |
|
634 | + $secondCountry, |
|
635 | + $iban, |
|
636 | + $secondIban, |
|
637 | + $bic |
|
638 | 638 | ) |
639 | 639 | ->addUserData( |
640 | 640 | $email, |
@@ -905,7 +905,7 @@ discard block |
||
905 | 905 | $pspReason, |
906 | 906 | $arn, |
907 | 907 | $paymentAccountId |
908 | - ); |
|
908 | + ); |
|
909 | 909 | } |
910 | 910 | |
911 | 911 | /** |
@@ -264,7 +264,7 @@ |
||
264 | 264 | $data[ResultBaseField::MANUAL], |
265 | 265 | isset($data[ResultBaseField::REASON]) ? $data[ResultBaseField::REASON] : null, |
266 | 266 | isset($data[ResultBaseField::ACTION]) ? $data[ResultBaseField::ACTION] : null, |
267 | - array_filter($data, function ($field) { |
|
267 | + array_filter($data, function($field) { |
|
268 | 268 | return !in_array($field, ResultBaseField::getAll()); |
269 | 269 | }, ARRAY_FILTER_USE_KEY) |
270 | 270 | ); |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Curl constructor. |
25 | 25 | * |
26 | 26 | * @param int|float $connectTimeout Connection timeout in seconds |
27 | - * @param int|float $requestTimeout Request timeout in seconds. |
|
27 | + * @param integer $requestTimeout Request timeout in seconds. |
|
28 | 28 | * Default is 0, which means it never times out during transfer. |
29 | 29 | * @throws \Exception |
30 | 30 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Curl constructor. |
25 | 25 | * |
26 | 26 | * @param int|float $connectTimeout Connection timeout in seconds |
27 | - * @param int|float $requestTimeout Request timeout in seconds. |
|
27 | + * @param integer $requestTimeout Request timeout in seconds. |
|
28 | 28 | * Default is 0, which means it never times out during transfer. |
29 | 29 | * @throws \Exception |
30 | 30 | */ |