Passed
Push — master ( ac041a...3ed185 )
by Gianluca
04:41
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/Http/Controllers/admin/AdminConfigurationFieldController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         if($type === 'textarea'){
55 55
             $html = '';
56 56
             $html .= '<textarea data-detail_id="'.$field->id .'" class="form-control mongifield"></textarea>';
57
-        }else{
57
+        } else{
58 58
             $html .= '<input type="'.$type.'" data-detail_id="'.$field->id .'" class="form-control mongifield">';
59 59
         }
60 60
         return $html;
Please login to merge, or discard this patch.