Completed
Push — master ( e0e119...3a93ae )
by
unknown
22:04 queued 12:13
created
src/Commands/DisableCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $this->components->info('Disabling module ...');
38 38
         
39 39
         if (count($this->argument('module'))) {
40
-            foreach($this->argument('module') as $name) {
40
+            foreach ($this->argument('module') as $name) {
41 41
                 $this->disable($name);
42 42
             }
43 43
             return 0;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         if ($name instanceof Module) {
75 75
             $module = $name;
76
-        }else {
76
+        } else {
77 77
             $module = $this->laravel['modules']->findOrFail($name);
78 78
         }
79 79
 
Please login to merge, or discard this patch.
config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         'generator' => [
104 104
             'config' => ['path' => 'Config', 'generate' => true],
105 105
             'command' => ['path' => 'Console', 'generate' => true],
106
-            'channels' => ['path' => 'Broadcasting','generate' => true],
106
+            'channels' => ['path' => 'Broadcasting', 'generate' => true],
107 107
             'migration' => ['path' => 'Database/Migrations', 'generate' => true],
108 108
             'seeder' => ['path' => 'Database/Seeders', 'generate' => true],
109 109
             'factory' => ['path' => 'Database/factories', 'generate' => true],
Please login to merge, or discard this patch.
src/Commands/ChannelMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         $channelPath = GenerateConfigReader::read('channels');
63 63
 
64
-        return $path . $channelPath->getPath() . '/' . $this->getFileName() . '.php';
64
+        return $path.$channelPath->getPath().'/'.$this->getFileName().'.php';
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
src/Commands/ObserverMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $module = $this->laravel['modules']->findOrFail($this->getModuleName());
56 56
         return (new Stub('/observer.stub', [
57
-                'NAMESPACE' => $this->getClassNamespace($module) . '\Observers',
57
+                'NAMESPACE' => $this->getClassNamespace($module).'\Observers',
58 58
                 'NAME' => $this->getModelName(),
59 59
                 'MODEL_NAMESPACE' => $this->getModelNamespace(),
60 60
                 'NAME_VARIABLE' => $this->getModelVariable(),
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
         $path = str_replace('/', '\\', $path);
74 74
 
75
-        return $this->laravel['modules']->config('namespace') . '\\' . $this->laravel['modules']->findOrFail($this->getModuleName()) . '\\' . $path;
75
+        return $this->laravel['modules']->config('namespace').'\\'.$this->laravel['modules']->findOrFail($this->getModuleName()).'\\'.$path;
76 76
     }
77 77
 
78 78
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         $observerPath = GenerateConfigReader::read('observer');
102 102
 
103
-        return $path . $observerPath->getPath() . '/' . $this->getFileName();
103
+        return $path.$observerPath->getPath().'/'.$this->getFileName();
104 104
     }
105 105
 
106 106
     /**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     private function getFileName()
110 110
     {
111
-        return Str::studly($this->argument('name')) . 'Observer.php';
111
+        return Str::studly($this->argument('name')).'Observer.php';
112 112
     }
113 113
 
114 114
 
Please login to merge, or discard this patch.