Test Failed
Push — master ( befccc...a4b299 )
by Gianluca
19:49
created
src/Seedeers/DetailTypeSeeder.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 class DetailTypeSeeder extends Seeder
12 12
 {
13
-     public function run(){
14
-         foreach (DetailTypes::all() as $detail) {
15
-             DB::table('detail_type')->insert(['name' => $detail]);
16
-         }
17
-     }
13
+        public function run(){
14
+            foreach (DetailTypes::all() as $detail) {
15
+                DB::table('detail_type')->insert(['name' => $detail]);
16
+            }
17
+        }
18 18
 }
Please login to merge, or discard this patch.
src/Seedeers/SettingsSeeder.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 class SettingsSeeder extends Seeder
13 13
 {
14
-     public function run(){
14
+        public function run(){
15 15
         $settings = new AdminSetting();
16 16
         $settings->shop_name = 'MongiCommerce';
17 17
         $settings->iban = 'DE79100110012626219557';
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
         $settings->claim_email = '[email protected]';
27 27
         $settings->piva = '12345678901';
28 28
         $settings->save();
29
-     }
29
+        }
30 30
 }
Please login to merge, or discard this patch.
src/Http/Controllers/shop/ShopSingleProductController.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@
 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
-         if($product_item_id == null){
19
-             return redirect()->route('shop.single.product',[$product->id,$product->items->first()->id]);
20
-         }
21
-         $details_fields = Template::getDetailsFields($product,$product_item_id);
22
-         $configuration_fields = Template::getConfigurationFields($product_item_id);
23
-         $btn_cart = Template::buttonCart($product_item_id);
24
-
25
-
26
-         return view('mongicommerce.pages.single-product',compact('product','details_fields','configuration_fields','btn_cart'));
27
-     }
16
+        public function page($id,$product_item_id = null){
17
+            $product = Product::find($id);
18
+            if($product_item_id == null){
19
+                return redirect()->route('shop.single.product',[$product->id,$product->items->first()->id]);
20
+            }
21
+            $details_fields = Template::getDetailsFields($product,$product_item_id);
22
+            $configuration_fields = Template::getConfigurationFields($product_item_id);
23
+            $btn_cart = Template::buttonCart($product_item_id);
24
+
25
+
26
+            return view('mongicommerce.pages.single-product',compact('product','details_fields','configuration_fields','btn_cart'));
27
+        }
28 28
 }
Please login to merge, or discard this patch.