@@ -3,12 +3,12 @@ discard block |
||
3 | 3 | use Illuminate\Foundation\Vite; |
4 | 4 | use Illuminate\Support\Facades\Vite as ViteFacade; |
5 | 5 | |
6 | -if (! function_exists('module_path')) { |
|
6 | +if (!function_exists('module_path')) { |
|
7 | 7 | function module_path($name, $path = '') |
8 | 8 | { |
9 | 9 | static $cache = []; |
10 | 10 | $cacheKey = $name.$path; |
11 | - if(isset($cache[$cacheKey])){ |
|
11 | + if (isset($cache[$cacheKey])) { |
|
12 | 12 | return $cache[$cacheKey]; |
13 | 13 | } |
14 | 14 | $module = app('modules')->find($name); |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | } |
18 | 18 | } |
19 | 19 | |
20 | -if (! function_exists('config_path')) { |
|
20 | +if (!function_exists('config_path')) { |
|
21 | 21 | /** |
22 | 22 | * Get the configuration path. |
23 | 23 | * |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | } |
31 | 31 | } |
32 | 32 | |
33 | -if (! function_exists('public_path')) { |
|
33 | +if (!function_exists('public_path')) { |
|
34 | 34 | /** |
35 | 35 | * Get the path to the public folder. |
36 | 36 | * |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } |
44 | 44 | } |
45 | 45 | |
46 | -if (! function_exists('module_vite')) { |
|
46 | +if (!function_exists('module_vite')) { |
|
47 | 47 | /** |
48 | 48 | * support for vite |
49 | 49 | */ |