Completed
Pull Request — master (#134)
by
unknown
01:36
created
src/Resource/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Auth/BasicAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Auth/Connect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -562,7 +562,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Auth/OAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Resource/RefundTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.