Passed
Push — master ( 7b9381...037114 )
by Matthijs
04:14
created
src/Services/Cart/Cart.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -727,10 +727,10 @@  discard block
 block discarded – undo
727 727
                 }
728 728
 
729 729
                 $this->update($productId, array(
730
-                  'quantity' => array(
731
-                      'relative' => false,
732
-                      'value' => $amount
733
-                  ),
730
+                    'quantity' => array(
731
+                        'relative' => false,
732
+                        'value' => $amount
733
+                    ),
734 734
                 ));
735 735
             } else {
736 736
                 $this->remove($productId);
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
 
797 797
                     if ($preSaleDiscount['discount_way'] == 'amount') {
798 798
                         $discountValue = "-".$preSaleDiscount->value;
799
-                      } elseif ($preSaleDiscount['discount_way'] == 'percent') {          
799
+                        } elseif ($preSaleDiscount['discount_way'] == 'percent') {          
800 800
                         $discountValue = "-".$preSaleDiscount['value']."%";                    
801 801
                     }                     
802 802
                 }
Please login to merge, or discard this patch.