Test Failed
Push — master ( c94a90...befccc )
by Gianluca
06:01
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   +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.