@@ -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, |
@@ -650,33 +650,33 @@ discard block |
||
| 650 | 650 | |
| 651 | 651 | return $builder |
| 652 | 652 | ->addTransferData( |
| 653 | - $eventId, |
|
| 654 | - $eventTimestamp, |
|
| 655 | - $amount, |
|
| 656 | - $currency, |
|
| 657 | - $accountId, |
|
| 658 | - $secondAccountId, |
|
| 659 | - $accountSystem, |
|
| 660 | - $amountConverted, |
|
| 661 | - $method, |
|
| 662 | - $operation, |
|
| 663 | - $secondEmail, |
|
| 664 | - $secondPhone, |
|
| 665 | - $secondBirthDate, |
|
| 666 | - $secondFirstname, |
|
| 667 | - $secondLastname, |
|
| 668 | - $secondFullname, |
|
| 669 | - $secondState, |
|
| 670 | - $secondCity, |
|
| 671 | - $secondAddress, |
|
| 672 | - $secondZip, |
|
| 673 | - $secondGender, |
|
| 674 | - $secondCountry, |
|
| 675 | - $iban, |
|
| 676 | - $secondIban, |
|
| 677 | - $bic, |
|
| 678 | - $source, |
|
| 679 | - $secondUserMerchantId |
|
| 653 | + $eventId, |
|
| 654 | + $eventTimestamp, |
|
| 655 | + $amount, |
|
| 656 | + $currency, |
|
| 657 | + $accountId, |
|
| 658 | + $secondAccountId, |
|
| 659 | + $accountSystem, |
|
| 660 | + $amountConverted, |
|
| 661 | + $method, |
|
| 662 | + $operation, |
|
| 663 | + $secondEmail, |
|
| 664 | + $secondPhone, |
|
| 665 | + $secondBirthDate, |
|
| 666 | + $secondFirstname, |
|
| 667 | + $secondLastname, |
|
| 668 | + $secondFullname, |
|
| 669 | + $secondState, |
|
| 670 | + $secondCity, |
|
| 671 | + $secondAddress, |
|
| 672 | + $secondZip, |
|
| 673 | + $secondGender, |
|
| 674 | + $secondCountry, |
|
| 675 | + $iban, |
|
| 676 | + $secondIban, |
|
| 677 | + $bic, |
|
| 678 | + $source, |
|
| 679 | + $secondUserMerchantId |
|
| 680 | 680 | ) |
| 681 | 681 | ->addUserData( |
| 682 | 682 | $email, |
@@ -1457,7 +1457,7 @@ discard block |
||
| 1457 | 1457 | $pspReason, |
| 1458 | 1458 | $arn, |
| 1459 | 1459 | $paymentAccountId |
| 1460 | - ); |
|
| 1460 | + ); |
|
| 1461 | 1461 | } |
| 1462 | 1462 | |
| 1463 | 1463 | /** |
@@ -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 | ); |