Completed
Pull Request — master (#1855)
by Solomon
07:38
created
src/Commands/Composer/AutoloadCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $module = $this->getModuleModel($name);
25 25
 
26
-        $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function () use ($module) {
27
-            $composer_file = $module->getPath() . DIRECTORY_SEPARATOR . 'composer.json';
26
+        $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function() use ($module) {
27
+            $composer_file = $module->getPath().DIRECTORY_SEPARATOR.'composer.json';
28 28
 
29 29
             $composer = json_decode(File::get($composer_file), true);
30 30
             if (!$composer) {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             // Get the module name.
39 39
             $name = $module->getStudlyName();
40 40
 
41
-            $path = trim($this->option('path') ?? (strlen($p = config('modules.paths.app_folder')) ? $p : 'app'), '/') . '/';
41
+            $path = trim($this->option('path') ?? (strlen($p = config('modules.paths.app_folder')) ? $p : 'app'), '/').'/';
42 42
 
43 43
             $path_name = trim($path, '/');
44 44
 
Please login to merge, or discard this patch.