@@ -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, |
@@ -620,32 +620,32 @@ discard block |
||
620 | 620 | |
621 | 621 | return $builder |
622 | 622 | ->addTransferData( |
623 | - $eventId, |
|
624 | - $eventTimestamp, |
|
625 | - $amount, |
|
626 | - $currency, |
|
627 | - $accountId, |
|
628 | - $secondAccountId, |
|
629 | - $accountSystem, |
|
630 | - $amountConverted, |
|
631 | - $method, |
|
632 | - $operation, |
|
633 | - $secondEmail, |
|
634 | - $secondPhone, |
|
635 | - $secondBirthDate, |
|
636 | - $secondFirstname, |
|
637 | - $secondLastname, |
|
638 | - $secondFullname, |
|
639 | - $secondState, |
|
640 | - $secondCity, |
|
641 | - $secondAddress, |
|
642 | - $secondZip, |
|
643 | - $secondGender, |
|
644 | - $secondCountry, |
|
645 | - $iban, |
|
646 | - $secondIban, |
|
647 | - $bic, |
|
648 | - $source |
|
623 | + $eventId, |
|
624 | + $eventTimestamp, |
|
625 | + $amount, |
|
626 | + $currency, |
|
627 | + $accountId, |
|
628 | + $secondAccountId, |
|
629 | + $accountSystem, |
|
630 | + $amountConverted, |
|
631 | + $method, |
|
632 | + $operation, |
|
633 | + $secondEmail, |
|
634 | + $secondPhone, |
|
635 | + $secondBirthDate, |
|
636 | + $secondFirstname, |
|
637 | + $secondLastname, |
|
638 | + $secondFullname, |
|
639 | + $secondState, |
|
640 | + $secondCity, |
|
641 | + $secondAddress, |
|
642 | + $secondZip, |
|
643 | + $secondGender, |
|
644 | + $secondCountry, |
|
645 | + $iban, |
|
646 | + $secondIban, |
|
647 | + $bic, |
|
648 | + $source |
|
649 | 649 | ) |
650 | 650 | ->addUserData( |
651 | 651 | $email, |
@@ -1251,7 +1251,7 @@ discard block |
||
1251 | 1251 | $pspReason, |
1252 | 1252 | $arn, |
1253 | 1253 | $paymentAccountId |
1254 | - ); |
|
1254 | + ); |
|
1255 | 1255 | } |
1256 | 1256 | |
1257 | 1257 | /** |
@@ -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 | */ |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Utility method, that reads JSON data |
142 | 142 | * |
143 | - * @param $string |
|
143 | + * @param string $string |
|
144 | 144 | * @return mixed|null |
145 | 145 | * @throws Exception |
146 | 146 | */ |
@@ -265,7 +265,7 @@ discard block |
||
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 |
||
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 | ); |