@@ -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 | } |
@@ -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 | } |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | $receiver->moipAccount = new stdClass(); |
| 88 | 88 | $receiver->moipAccount->id = $moipAccount; |
| 89 | 89 | if (!empty($fixed)) { |
| 90 | - $receiver->amount = new stdClass(); |
|
| 90 | + $receiver->amount = new stdClass(); |
|
| 91 | 91 | $receiver->amount->fixed = $fixed; |
| 92 | 92 | } |
| 93 | 93 | $receiver->type = $type; |
@@ -149,9 +149,9 @@ |
||
| 149 | 149 | public function get($id_moip) |
| 150 | 150 | { |
| 151 | 151 | if ($this->order !== null) { |
| 152 | - return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $id_moip)); |
|
| 152 | + return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $id_moip)); |
|
| 153 | 153 | } else { |
| 154 | - return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::MULTI_PAYMENTS_PATH, $id_moip)); |
|
| 154 | + return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::MULTI_PAYMENTS_PATH, $id_moip)); |
|
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | 157 | |