Test Failed
Push — master ( 9edbfe...d7c4b6 )
by Gianluca
09:59 queued 03:20
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   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 
8 8
 class ShopSingleProductController extends Controller
9 9
 {
10
-     public function page($id,$product_item_id = null){
11
-         $product = Product::find($id);
12
-         if($product_item_id == null){
13
-             return redirect()->route('shop.single.product',[$product->id,$product->items->first()->id]);
14
-         }
15
-         $details_fields = Template::getDetailsFields($product,$product_item_id);
16
-         $configuration_fields = Template::getConfigurationFields($product_item_id);
17
-         $btn_cart = Template::buttonCart($product_item_id);
18
-         return view('mongicommerce.pages.single-product',compact('product','details_fields','configuration_fields','btn_cart'));
19
-     }
10
+        public function page($id,$product_item_id = null){
11
+            $product = Product::find($id);
12
+            if($product_item_id == null){
13
+                return redirect()->route('shop.single.product',[$product->id,$product->items->first()->id]);
14
+            }
15
+            $details_fields = Template::getDetailsFields($product,$product_item_id);
16
+            $configuration_fields = Template::getConfigurationFields($product_item_id);
17
+            $btn_cart = Template::buttonCart($product_item_id);
18
+            return view('mongicommerce.pages.single-product',compact('product','details_fields','configuration_fields','btn_cart'));
19
+        }
20 20
 }
Please login to merge, or discard this patch.