@@ -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 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | $order = $this->createOrder()->create(); |
| 13 | 13 | $this->mockHttpSession($this->body_billet_pay); |
| 14 | 14 | $payment = $order->payments() |
| 15 | - ->setBoleto(new \DateTime('today +1day'),'http://dev.moip.com.br/images/logo-header-moip.png') |
|
| 15 | + ->setBoleto(new \DateTime('today +1day'), 'http://dev.moip.com.br/images/logo-header-moip.png') |
|
| 16 | 16 | ->execute(); |
| 17 | 17 | $this->mockHttpSession(''); |
| 18 | 18 | $payment->authorize(); |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | $order = $this->createOrder()->create(); |
| 29 | 29 | $this->mockHttpSession($this->body_billet_pay); |
| 30 | 30 | $payment = $order->payments() |
| 31 | - ->setBoleto(new \DateTime('today +1day'),'http://dev.moip.com.br/images/logo-header-moip.png') |
|
| 31 | + ->setBoleto(new \DateTime('today +1day'), 'http://dev.moip.com.br/images/logo-header-moip.png') |
|
| 32 | 32 | ->execute(); |
| 33 | 33 | $this->mockHttpSession(''); |
| 34 | 34 | $payment->authorize(); |