Completed
Push — master ( 4fb3b2...b5a0c8 )
by Jean C.
10s
created
src/Resource/Orders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -603,7 +603,7 @@
 block discarded – undo
603 603
     /**
604 604
      * Set installment settings for checkout preferences
605 605
      *
606
-     * @param array $quantity
606
+     * @param integer[] $quantity
607 607
      * @param int $discountValue
608 608
      * @param int $additionalValue
609 609
      *
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.