@@ -136,7 +136,7 @@ |
||
136 | 136 | */ |
137 | 137 | public function getFullname() |
138 | 138 | { |
139 | - return $this->getIfSet('name', $this->data->person) . ' ' . $this->getIfSet('lastName', $this->data->person); |
|
139 | + return $this->getIfSet('name', $this->data->person).' '.$this->getIfSet('lastName', $this->data->person); |
|
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
@@ -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(); |
@@ -171,7 +171,7 @@ |
||
171 | 171 | { |
172 | 172 | $moip = new Moip(new OAuth('1tldio91gi74r34zv30d4saz8yuuws5'), Moip::ENDPOINT_SANDBOX); |
173 | 173 | |
174 | - $uniqEmail = 'fulano' . uniqid('MPA-') . '@detal123.com.br'; |
|
174 | + $uniqEmail = 'fulano'.uniqid('MPA-').'@detal123.com.br'; |
|
175 | 175 | |
176 | 176 | $account = $moip->accounts() |
177 | 177 | ->setEmail($uniqEmail) |