@@ -426,7 +426,7 @@ |
||
426 | 426 | */ |
427 | 427 | public function setThreeDS2AuthorizationInformation( |
428 | 428 | ThreeDS2AuthorizationInformation $threeDS2AuthorizationInformation |
429 | - ){ |
|
429 | + ) { |
|
430 | 430 | $this->threeDS2AuthorizationInformation = $threeDS2AuthorizationInformation; |
431 | 431 | } |
432 | 432 |
@@ -41,11 +41,11 @@ discard block |
||
41 | 41 | { |
42 | 42 | return new Assert\Collection([ |
43 | 43 | 'amount' => $this->buildElement('float', 1), |
44 | - 'currency' => $this->buildElement('string', 1, ['min' => 3,'max' => 3]), |
|
44 | + 'currency' => $this->buildElement('string', 1, ['min' => 3, 'max' => 3]), |
|
45 | 45 | 'settle' => $this->buildElement('bool'), |
46 | - 'order_id' => $this->buildElement('string', 0, ['min' => 2,'max' => 50]), |
|
46 | + 'order_id' => $this->buildElement('string', 0, ['min' => 2, 'max' => 50]), |
|
47 | 47 | 'description' => $this->buildElement('string', 0, ['max' => 255]), |
48 | - 'country' => $this->buildElement('string', 1, ['min' => 2,'max' => 2]), |
|
48 | + 'country' => $this->buildElement('string', 1, ['min' => 2, 'max' => 2]), |
|
49 | 49 | 'payment_method' => new Assert\Required([ |
50 | 50 | new Assert\Type(['type' => 'string']), |
51 | 51 | new Assert\Choice([ |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | ]), |
74 | 74 | 'exp_year' => $this->buildElement( |
75 | 75 | 'integer', 1, |
76 | - ['min' => 4,'max' => 4], |
|
76 | + ['min' => 4, 'max' => 4], |
|
77 | 77 | new Assert\Range(['min' => date('Y')]), |
78 | 78 | ), |
79 | 79 | 'exp_month' => $this->buildElement('integer', 1), |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | ]); |
148 | 148 | } |
149 | 149 | |
150 | - private function buildElement($typeValue, $isRequired=0, $length=0, $args=0) |
|
150 | + private function buildElement($typeValue, $isRequired = 0, $length = 0, $args = 0) |
|
151 | 151 | { |
152 | 152 | $inside_array = [ |
153 | 153 | new Assert\Type(['type', $typeValue]), |