@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | public function setFirstName($value) { |
69 | - $card = $this->getCard(); |
|
69 | + $card = $this->getCard(); |
|
70 | 70 | return $card['firstName'] = $value; |
71 | 71 | } |
72 | 72 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | public function setLastName($value) { |
79 | - $card = $this->getCard(); |
|
79 | + $card = $this->getCard(); |
|
80 | 80 | return $card['lastName'] = $value; |
81 | 81 | } |
82 | 82 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | public function setEmail($value) { |
89 | - $card = $this->getCard(); |
|
89 | + $card = $this->getCard(); |
|
90 | 90 | return $card['email'] = $value; |
91 | 91 | } |
92 | 92 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | public function setPhone($value) { |
99 | - $card = $this->getCard(); |
|
99 | + $card = $this->getCard(); |
|
100 | 100 | return $card['phone'] = $value; |
101 | 101 | } |
102 | 102 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | if (isset($json->ValidationErrors) || isset($json->FieldsErrors)) { |
59 | 59 | $errorsObj = isset($json->ValidationErrors) ? $json->ValidationErrors : $json->FieldsErrors; |
60 | 60 | $blogDatas = array_column($errorsObj, 'Error', 'Name'); |
61 | - $err = implode(', ', array_map(function ($k, $v) { |
|
61 | + $err = implode(', ', array_map(function($k, $v) { |
|
62 | 62 | return "$k: $v"; |
63 | 63 | }, array_keys($blogDatas), array_values($blogDatas))); |
64 | 64 | } else if (isset($json->Data->ErrorMessage)) { |
@@ -17,10 +17,10 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | public function getData() { |
20 | - if($this->getPaymentId()){ |
|
20 | + if ($this->getPaymentId()) { |
|
21 | 21 | $data['Key'] = $this->getPaymentId(); |
22 | 22 | $data['KeyType'] = "paymentId"; |
23 | - }else{ |
|
23 | + } else { |
|
24 | 24 | $data['Key'] = $this->getInvoiceId(); |
25 | 25 | $data['KeyType'] = "invoiceid"; |
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | if($this->getPaymentId()){ |
21 | 21 | $data['Key'] = $this->getPaymentId(); |
22 | 22 | $data['KeyType'] = "paymentId"; |
23 | - }else{ |
|
23 | + } else{ |
|
24 | 24 | $data['Key'] = $this->getInvoiceId(); |
25 | 25 | $data['KeyType'] = "invoiceid"; |
26 | 26 | } |