@@ -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; |
@@ -150,7 +150,7 @@ |
||
150 | 150 | { |
151 | 151 | if ($this->order !== null) { |
152 | 152 | return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $id_moip)); |
153 | - } |
|
153 | + } |
|
154 | 154 | return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::MULTI_PAYMENTS_PATH, $id_moip)); |
155 | 155 | } |
156 | 156 |