@@ -15,7 +15,7 @@ |
||
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; |
@@ -76,8 +76,8 @@ discard block |
||
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 |
||
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); |