@@ -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 | /** |
@@ -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 | */ |