Completed
Pull Request — master (#2042)
by
unknown
12:11 queued 02:10
created
src/Traits/PathNamespace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
             $replace = $ds === '/' ? '\\' : '/';
16 16
         }
17 17
 
18
-        return Str::of($path)->trim($ds)->replace($replace, $ds)->explode($ds)->filter(fn ($segment) => ! empty($segment))->implode($ds);
18
+        return Str::of($path)->trim($ds)->replace($replace, $ds)->explode($ds)->filter(fn ($segment) => !empty($segment))->implode($ds);
19 19
     }
20 20
 
21 21
     /**
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function module_namespace(string $module, ?string $path = null): string
57 57
     {
58 58
         $module_namespace = rtrim(config('modules.namespace', config('modules.paths.modules')), '\\').'\\'.($module);
59
-        if (! empty($path)) {
59
+        if (!empty($path)) {
60 60
             $module_namespace .= '\\'.ltrim($path, '\\');
61 61
         }
62 62
 
Please login to merge, or discard this patch.