@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * @param \Requests_Hooks $hooks Hook system |
| 39 | 39 | */ |
| 40 | - public function register(Requests_Hooks &$hooks) |
|
| 40 | + public function register(Requests_Hooks & $hooks) |
|
| 41 | 41 | { |
| 42 | 42 | $hooks->register('requests.before_request', [&$this, 'before_request']); |
| 43 | 43 | } |
@@ -154,15 +154,15 @@ |
||
| 154 | 154 | return $refund; |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | - /** |
|
| 158 | - * Get payment status. |
|
| 159 | - * |
|
| 160 | - * @return string Payment status. Possible values CREATED, WAITING, IN_ANALYSIS, PRE_AUTHORIZED, AUTHORIZED, CANCELLED, REFUNDED, REVERSED, SETTLED |
|
| 161 | - */ |
|
| 162 | - public function getStatus() |
|
| 163 | - { |
|
| 164 | - return $this->getIfSet('status'); |
|
| 165 | - } |
|
| 157 | + /** |
|
| 158 | + * Get payment status. |
|
| 159 | + * |
|
| 160 | + * @return string Payment status. Possible values CREATED, WAITING, IN_ANALYSIS, PRE_AUTHORIZED, AUTHORIZED, CANCELLED, REFUNDED, REVERSED, SETTLED |
|
| 161 | + */ |
|
| 162 | + public function getStatus() |
|
| 163 | + { |
|
| 164 | + return $this->getIfSet('status'); |
|
| 165 | + } |
|
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 168 | * get creation time. |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * |
| 47 | 47 | * @param \Requests_Hooks $hooks Hook system |
| 48 | 48 | */ |
| 49 | - public function register(Requests_Hooks &$hooks) |
|
| 49 | + public function register(Requests_Hooks & $hooks) |
|
| 50 | 50 | { |
| 51 | 51 | $hooks->register('requests.before_request', [&$this, 'before_request']); |
| 52 | 52 | } |