Completed
Pull Request — master (#127)
by
unknown
01:43
created
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/OrdersTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function testCreateOrderWithInstallmentPreferences() 
119 119
     {
120
-        $quantity = [1,6];
120
+        $quantity = [1, 6];
121 121
         $discount = 0;
122 122
         $additional = 100;
123 123
         $order = $this->createOrder()->setInstallmentCheckoutPreferences($quantity, $discount, $additional);
124 124
         $returned_order = $this->executeOrder($order);
125 125
 
126 126
         $this->assertNotEmpty($returned_order->getId());
127
-        $this->assertEquals([1,6],$returned_order->getCheckoutPreferences()->installments->quantity);
127
+        $this->assertEquals([1, 6], $returned_order->getCheckoutPreferences()->installments->quantity);
128 128
     }
129 129
 
130 130
     public function testCreateOrderAddingReceiverNoAmount() 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $returned_order = $this->executeOrder($order);
134 134
         $this->assertNotEmpty($returned_order->getId());
135 135
         $receivers = $returned_order->getReceiverIterator();
136
-        $this->assertEquals('MPA-7ED9D2D0BC81',$receivers[0]->moipAccount->id);
136
+        $this->assertEquals('MPA-7ED9D2D0BC81', $receivers[0]->moipAccount->id);
137 137
     }
138 138
     
139 139
     public function testCreateOrderAddingReceiverAmountFixed() 
Please login to merge, or discard this patch.