@@ -19,8 +19,7 @@ |
||
| 19 | 19 | if ($this->httpRequest->get('DATA')) { |
| 20 | 20 | $this->getNotifyParams(); |
| 21 | 21 | $type = 'notify'; |
| 22 | - } |
|
| 23 | - else { |
|
| 22 | + } else { |
|
| 24 | 23 | $this->getReturnParams(); |
| 25 | 24 | $type = 'return'; |
| 26 | 25 | } |
@@ -79,8 +79,7 @@ |
||
| 79 | 79 | $confirmResponse = $this->request->confirmTransaction(); |
| 80 | 80 | if ($confirmResponse->getData()['ReturnCode'] == 1) { |
| 81 | 81 | $this->data['raw']['confirm'] = true; |
| 82 | - } |
|
| 83 | - else { |
|
| 82 | + } else { |
|
| 84 | 83 | $this->data['raw']['confirm'] = false; |
| 85 | 84 | } |
| 86 | 85 | return $this; |