@@ -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 | { |
@@ -81,8 +81,8 @@ |
||
81 | 81 | /** |
82 | 82 | * @return string |
83 | 83 | */ |
84 | - public function getDefaultNamespace() |
|
85 | - { |
|
86 | - return $this->laravel['modules']->config('paths.generator.policies', 'Policies'); |
|
87 | - } |
|
84 | + public function getDefaultNamespace() |
|
85 | + { |
|
86 | + return $this->laravel['modules']->config('paths.generator.policies', 'Policies'); |
|
87 | + } |
|
88 | 88 | } |
@@ -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 | /** |