@@ -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), |
@@ -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 | ); |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | $logContent = $this->formatLogEntry($level, $message, $context); |
| 49 | 49 | |
| 50 | - file_put_contents($this->filePath, $logContent, FILE_APPEND ); |
|
| 50 | + file_put_contents($this->filePath, $logContent, FILE_APPEND); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | public function build() |
| 52 | 52 | { |
| 53 | 53 | return new CardId( |
| 54 | - array_filter($this->data, function ($data) { |
|
| 54 | + array_filter($this->data, function($data) { |
|
| 55 | 55 | return $data !== null; |
| 56 | 56 | }) |
| 57 | 57 | ); |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | public function build() |
| 166 | 166 | { |
| 167 | 167 | return new DocumentStorage( |
| 168 | - array_filter($this->data, function ($data) { |
|
| 168 | + array_filter($this->data, function($data) { |
|
| 169 | 169 | return $data !== null; |
| 170 | 170 | }) |
| 171 | 171 | ); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | public function build() |
| 61 | 61 | { |
| 62 | 62 | return new DocumentConnection( |
| 63 | - array_filter($this->data, function ($data) { |
|
| 63 | + array_filter($this->data, function($data) { |
|
| 64 | 64 | return $data !== null; |
| 65 | 65 | }) |
| 66 | 66 | ); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | public function build() |
| 61 | 61 | { |
| 62 | 62 | return new DocumentFileUploader( |
| 63 | - array_filter($this->data, function ($data) { |
|
| 63 | + array_filter($this->data, function($data) { |
|
| 64 | 64 | return $data !== null; |
| 65 | 65 | }) |
| 66 | 66 | ); |
@@ -1107,7 +1107,7 @@ discard block |
||
| 1107 | 1107 | $description = null, |
| 1108 | 1108 | $country = null, |
| 1109 | 1109 | $state = null, |
| 1110 | - $city = null, |
|
| 1110 | + $city = null, |
|
| 1111 | 1111 | $zip = null, |
| 1112 | 1112 | $address = null, |
| 1113 | 1113 | $addressConfirmed = null, |
@@ -2211,7 +2211,7 @@ discard block |
||
| 2211 | 2211 | $this->type, |
| 2212 | 2212 | $this->sequenceId, |
| 2213 | 2213 | $this->identities, |
| 2214 | - array_filter($this->data, function ($data) { |
|
| 2214 | + array_filter($this->data, function($data) { |
|
| 2215 | 2215 | return $data !== null; |
| 2216 | 2216 | }) |
| 2217 | 2217 | ); |
@@ -2891,7 +2891,7 @@ discard block |
||
| 2891 | 2891 | $payoutTimestamp, |
| 2892 | 2892 | $payoutAmount, |
| 2893 | 2893 | $payoutCurrency, |
| 2894 | - $payoutCardId = null, |
|
| 2894 | + $payoutCardId = null, |
|
| 2895 | 2895 | $payoutAccountId = null, |
| 2896 | 2896 | $payoutMethod = null, |
| 2897 | 2897 | $payoutSystem = null, |
@@ -3996,7 +3996,7 @@ discard block |
||
| 3996 | 3996 | $description = null, |
| 3997 | 3997 | $country = null, |
| 3998 | 3998 | $state = null, |
| 3999 | - $city = null, |
|
| 3999 | + $city = null, |
|
| 4000 | 4000 | $zip = null, |
| 4001 | 4001 | $address = null, |
| 4002 | 4002 | $addressConfirmed = null, |