Passed
Push — master ( cd046d...952b24 )
by Iman
04:21
created
src/Modules/ModuleGenerator/AdminModulesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $this->table = 'cms_moduls';
17 17
         $this->primaryKey = 'id';
18
-        $this->titleField = 'name' ;
18
+        $this->titleField = 'name';
19 19
         $this->limit = 100;
20 20
         $this->buttonAdd = false;
21 21
         $this->buttonExport = false;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
     function hookBeforeDelete($ids)
57 57
     {
58
-        foreach ($ids as $id){
58
+        foreach ($ids as $id) {
59 59
             $controller = ModulesRepo::getControllerName($id);
60 60
             DB::table('cms_menus')->where('path', 'like', '%'.$controller.'%')->delete();
61 61
             @unlink(controller_path($controller));
Please login to merge, or discard this patch.