@@ -413,10 +413,10 @@ |
||
| 413 | 413 | $this->threeDS2AuthorizationInformation = $threeDS2AuthorizationInformation; |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | - /** |
|
| 417 | - * Gets the value of statementDescriptorDuffix. |
|
| 418 | - * @return mixed |
|
| 419 | - */ |
|
| 416 | + /** |
|
| 417 | + * Gets the value of statementDescriptorDuffix. |
|
| 418 | + * @return mixed |
|
| 419 | + */ |
|
| 420 | 420 | public function getStatementDescriptorDuffix() |
| 421 | 421 | { |
| 422 | 422 | return $this->statementDescriptorDuffix; |
@@ -43,12 +43,12 @@ discard block |
||
| 43 | 43 | { |
| 44 | 44 | return new Assert\Collection([ |
| 45 | 45 | 'amount' => $this->buildElement('float', 1), |
| 46 | - 'currency' => $this->buildElement('string', 1, ['min' => 3,'max' => 3]), |
|
| 46 | + 'currency' => $this->buildElement('string', 1, ['min' => 3, 'max' => 3]), |
|
| 47 | 47 | 'settle' => $this->buildElement('bool'), |
| 48 | - 'order_id' => $this->buildElement('string', 0, ['min' => 2,'max' => 50]), |
|
| 48 | + 'order_id' => $this->buildElement('string', 0, ['min' => 2, 'max' => 50]), |
|
| 49 | 49 | 'description' => $this->buildElement('string', 0, ['max' => 255]), |
| 50 | 50 | 'statement_descriptor_suffix' => $this->buildElement('string', 0, ['max' => 255]), |
| 51 | - 'country' => $this->buildElement('string', 1, ['min' => 2,'max' => 2]), |
|
| 51 | + 'country' => $this->buildElement('string', 1, ['min' => 2, 'max' => 2]), |
|
| 52 | 52 | 'payment_method' => new Assert\Required([ |
| 53 | 53 | new Assert\Type([ |
| 54 | 54 | 'type' => 'string', |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | ]), |
| 82 | 82 | 'exp_year' => $this->buildElement( |
| 83 | 83 | 'integer', 1, |
| 84 | - ['min' => 4,'max' => 4], |
|
| 84 | + ['min' => 4, 'max' => 4], |
|
| 85 | 85 | new Assert\Range(['min' => date('Y')]) |
| 86 | 86 | ), |
| 87 | 87 | 'exp_month' => $this->buildElement('integer', 1), |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | ]); |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | - private function buildElement($typeValue, bool $isRequired=false, $length=0, $args=0) |
|
| 170 | + private function buildElement($typeValue, bool $isRequired = false, $length = 0, $args = 0) |
|
| 171 | 171 | { |
| 172 | 172 | $inside_array = [ |
| 173 | 173 | new Assert\Type([ |