Test Failed
Push — master ( a84a97...6a5aa6 )
by Gianluca
07:16
created
src/Http/Controllers/shop/ShopSingleProductController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 class ShopSingleProductController extends Controller
15 15
 {
16
-     public function page($id,$product_item_id = null){
17
-         $product = Product::find($id);
18
-         $details_fields = Template::getDetailsFields($product);
19
-         if($product_item_id != null){
20
-             $product = ProductItem::find($product_item_id);
21
-         }
16
+        public function page($id,$product_item_id = null){
17
+            $product = Product::find($id);
18
+            $details_fields = Template::getDetailsFields($product);
19
+            if($product_item_id != null){
20
+                $product = ProductItem::find($product_item_id);
21
+            }
22 22
 
23
-         return view('mongicommerce.pages.single-product',compact('product','details_fields'));
24
-     }
23
+            return view('mongicommerce.pages.single-product',compact('product','details_fields'));
24
+        }
25 25
 }
Please login to merge, or discard this patch.