@@ -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 | } |
@@ -562,7 +562,7 @@ |
||
562 | 562 | * |
563 | 563 | * @param Requests_Hooks $hooks Hook system |
564 | 564 | */ |
565 | - public function register(Requests_Hooks &$hooks) |
|
565 | + public function register(Requests_Hooks & $hooks) |
|
566 | 566 | { |
567 | 567 | // TODO: Implement register() method. |
568 | 568 | } |
@@ -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 | } |
@@ -160,7 +160,7 @@ |
||
160 | 160 | { |
161 | 161 | $data = new stdClass(); |
162 | 162 | $data->refundingInstrument = new stdClass(); |
163 | - $data->refundingInstrument->method= self::METHOD_BANK_ACCOUNT; |
|
163 | + $data->refundingInstrument->method = self::METHOD_BANK_ACCOUNT; |
|
164 | 164 | $data->refundingInstrument->bankAccount = new stdClass(); |
165 | 165 | $data->refundingInstrument->bankAccount->type = $type; |
166 | 166 | $data->refundingInstrument->bankAccount->bankNumber = $bankNumber; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | $payment = $order->payments()->get('PAY-N2TXFLV4PP7Y'); |
26 | 26 | $this->mockHttpSession($this->body_refund_partial_bankaccount); |
27 | 27 | $refund = $payment->refunds() |
28 | - ->bankAccountPartial(20000, 'SAVING','001', '1584', '9', '00210169', '6', $order->getCustomer()); |
|
28 | + ->bankAccountPartial(20000, 'SAVING', '001', '1584', '9', '00210169', '6', $order->getCustomer()); |
|
29 | 29 | $this->assertNotEmpty($refund->getId()); |
30 | 30 | } |
31 | 31 | } |