@@ -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, |
@@ -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 | ); |