| @@ -31,41 +31,41 @@ | ||
| 31 | 31 | |
| 32 | 32 | public function getHash() | 
| 33 | 33 |      { | 
| 34 | - return strtolower($this->data['check_key']); | |
| 34 | + return strtolower($this->data[ 'check_key' ]); | |
| 35 | 35 | } | 
| 36 | 36 | |
| 37 | 37 | public function calculateHash() | 
| 38 | 38 |      { | 
| 39 | - return md5($this->data['EPS_AMOUNT'] . $this->data['EPS_GUID'] . $this->request->getSecret()); | |
| 39 | + return md5($this->data[ 'EPS_AMOUNT' ].$this->data[ 'EPS_GUID' ].$this->request->getSecret()); | |
| 40 | 40 | } | 
| 41 | 41 | |
| 42 | 42 | public function isSuccessful() | 
| 43 | 43 |      { | 
| 44 | - return $this->data['EPS_RESULT'] === 'done'; | |
| 44 | + return $this->data[ 'EPS_RESULT' ] === 'done'; | |
| 45 | 45 | } | 
| 46 | 46 | |
| 47 | 47 | public function getTransactionId() | 
| 48 | 48 |      { | 
| 49 | - return $this->data['EPS_TRID']; | |
| 49 | + return $this->data[ 'EPS_TRID' ]; | |
| 50 | 50 | } | 
| 51 | 51 | |
| 52 | 52 | public function getTransactionReference() | 
| 53 | 53 |      { | 
| 54 | - return $this->data['EPS_TRID']; | |
| 54 | + return $this->data[ 'EPS_TRID' ]; | |
| 55 | 55 | } | 
| 56 | 56 | |
| 57 | 57 | public function getAmount() | 
| 58 | 58 |      { | 
| 59 | - return $this->data['EPS_AMOUNT']; | |
| 59 | + return $this->data[ 'EPS_AMOUNT' ]; | |
| 60 | 60 | } | 
| 61 | 61 | |
| 62 | 62 | public function getTestMode() | 
| 63 | 63 |      { | 
| 64 | - return (bool) $this->data['testMode']; | |
| 64 | + return (bool) $this->data[ 'testMode' ]; | |
| 65 | 65 | } | 
| 66 | 66 | |
| 67 | 67 | public function getCurrency() | 
| 68 | 68 |      { | 
| 69 | - return $this->data['EPS_CURRENCY']; | |
| 69 | + return $this->data[ 'EPS_CURRENCY' ]; | |
| 70 | 70 | } | 
| 71 | 71 | } |