Completed
Pull Request — master (#1802)
by Solomon
05:57
created
src/Commands/Make/ClassCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         $app_path = GenerateConfigReader::read('class')->getPath() ?? $this->app_path('Classes');
45 45
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
46
-        $path .= $this->type_path($app_path) . '/' . $this->getFileName() . '.php';
46
+        $path .= $this->type_path($app_path).'/'.$this->getFileName().'.php';
47 47
 
48 48
         return $path;
49 49
     }
Please login to merge, or discard this patch.
src/Traits/PathNamespace.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function module_namespace(string $module, ?string $path = null): string
37 37
     {
38
-        $module_namespace = config('modules.namespace', $this->path_namespace(config('modules.paths.modules'))) . '\\' . ($module);
39
-        $module_namespace .= strlen($path) ? '\\' . $this->path_namespace($path) : '';
38
+        $module_namespace = config('modules.namespace', $this->path_namespace(config('modules.paths.modules'))).'\\'.($module);
39
+        $module_namespace .= strlen($path) ? '\\'.$this->path_namespace($path) : '';
40 40
 
41 41
         return $this->studly_namespace($module_namespace);
42 42
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $config_path = config('modules.paths.app_folder');
58 58
         $app_path = strlen($config_path) ? trim($config_path, '/') : 'app';
59
-        $app_path .= strlen($path) ? '/' . $path : '';
59
+        $app_path .= strlen($path) ? '/'.$path : '';
60 60
 
61 61
         return $this->clean_path($app_path);
62 62
     }
Please login to merge, or discard this patch.