@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @return mixed |
|
62 | + * @return string |
|
63 | 63 | */ |
64 | 64 | protected function getTemplateContents() |
65 | 65 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
76 | - * @return mixed |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | protected function getDestinationFilePath() |
79 | 79 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | |
68 | 68 | $policyPath = $this->laravel['modules']->config('paths.generator.policies'); |
69 | 69 | |
70 | - return $path . $policyPath . '/' . $this->getFileName() . '.php'; |
|
70 | + return $path.$policyPath.'/'.$this->getFileName().'.php'; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @return mixed |
|
62 | + * @return string |
|
63 | 63 | */ |
64 | 64 | protected function getTemplateContents() |
65 | 65 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
76 | - * @return mixed |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | protected function getDestinationFilePath() |
79 | 79 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | |
68 | 68 | $rulePath = $this->laravel['modules']->config('paths.generator.rules'); |
69 | 69 | |
70 | - return $path . $rulePath . '/' . $this->getFileName() . '.php'; |
|
70 | + return $path.$rulePath.'/'.$this->getFileName().'.php'; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! function_exists('module_path')) { |
|
3 | +if (!function_exists('module_path')) { |
|
4 | 4 | function module_path($name) |
5 | 5 | { |
6 | 6 | $module = app('modules')->find($name); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | } |
10 | 10 | } |
11 | 11 | |
12 | -if (! function_exists('public_path')) { |
|
12 | +if (!function_exists('public_path')) { |
|
13 | 13 | /** |
14 | 14 | * Get the path to the public folder. |
15 | 15 | * |
@@ -18,6 +18,6 @@ discard block |
||
18 | 18 | */ |
19 | 19 | function public_path($path = '') |
20 | 20 | { |
21 | - return app()->make('path.public') . ($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path); |
|
21 | + return app()->make('path.public').($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path); |
|
22 | 22 | } |
23 | 23 | } |