Passed
Push — master ( 6bd04a...b9eac4 )
by Iman
04:02
created
src/Modules/ModuleGenerator/AdminModulesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         $this->table = 'cms_moduls';
17 17
         $this->primaryKey = 'id';
18
-        $this->title_field = 'name' ;
18
+        $this->title_field = 'name';
19 19
         $this->limit = 100;
20 20
         $this->button_add = false;
21 21
         $this->buttonExport = false;
Please login to merge, or discard this patch.
src/Modules/ModuleGenerator/ControllerGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
         $coloms_col = array_slice($coloms, 0, 8);
77 77
         $joinList = [];
78 78
         $cols = [];
79
-        array_filter($coloms_col, function ($field) {
80
-            return (! FieldDetector::isExceptional($field) && ! FieldDetector::isPassword($field));
79
+        array_filter($coloms_col, function($field) {
80
+            return (!FieldDetector::isExceptional($field) && !FieldDetector::isPassword($field));
81 81
         });
82 82
 
83 83
         foreach ($coloms_col as $field) {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $jointable = str_replace(['id_', '_id'], '', $field);
111 111
 
112
-        if (! Schema::hasTable($jointable)) {
112
+        if (!Schema::hasTable($jointable)) {
113 113
             return [$cols, $joinList];
114 114
         }
115 115
         $joincols = \Schema::getColumnListing($jointable);
Please login to merge, or discard this patch.