Completed
Pull Request — master (#1905)
by Solomon
08:00
created
src/Traits/PathNamespace.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function clean_path(string $path, $ds = '/'): string
33 33
     {
34
-        return $this->clean($path, $ds) . $ds;
34
+        return $this->clean($path, $ds).$ds;
35 35
     }
36 36
 
37 37
     /**
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function module_namespace(string $module, ?string $path = null): string
65 65
     {
66
-        $module_namespace = config('modules.namespace', $this->path_namespace(config('modules.paths.modules'))) . '\\' . ($module);
67
-        $module_namespace .= strlen($path) ? '\\' . $this->path_namespace($path) : '';
66
+        $module_namespace = config('modules.namespace', $this->path_namespace(config('modules.paths.modules'))).'\\'.($module);
67
+        $module_namespace .= strlen($path) ? '\\'.$this->path_namespace($path) : '';
68 68
 
69 69
         return $this->studly_namespace($module_namespace);
70 70
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function module_path(string $module, ?string $path = null): string
76 76
     {
77
-        $module_path = $this->clean_path(config('modules.paths.modules', base_path('modules/'))) . ($module);
77
+        $module_path = $this->clean_path(config('modules.paths.modules', base_path('modules/'))).($module);
78 78
         $module_path .= strlen($path) ? $this->clean_path($path) : '';
79 79
 
80 80
         return $this->clean_path($module_path);
Please login to merge, or discard this patch.