Completed
Pull Request — master (#1601)
by
unknown
07:12
created
src/Commands/EnableCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $this->components->info('Enabling module ...');
39 39
 
40 40
         if (count($this->argument('module'))) {
41
-            foreach($this->argument('module') as $name) {
41
+            foreach ($this->argument('module') as $name) {
42 42
                 $this->enable($name);
43 43
             }
44 44
             return 0;
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         if ($name instanceof Module) {
76 76
             $module = $name;
77
-        }else {
77
+        } else {
78 78
             $module = $this->laravel['modules']->findOrFail($name);
79 79
         }
80 80
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             $module->enable();
83 83
 
84 84
             $this->components->info("Module [{$module}] enabled successful.");
85
-        }else {
85
+        } else {
86 86
             $this->components->warn("Module [{$module}] has already enabled.");
87 87
         }
88 88
 
Please login to merge, or discard this patch.