@@ -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,7 +81,7 @@ |
||
| 81 | 81 | |
| 82 | 82 | $seederPath = $this->laravel['modules']->config('paths.generator.command'); |
| 83 | 83 | |
| 84 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
| 84 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
@@ -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 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | { |
| 61 | 61 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
| 62 | 62 | |
| 63 | - return $path . 'Database/factories/' . $this->getFileName(); |
|
| 63 | + return $path.'Database/factories/'.$this->getFileName(); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
@@ -68,6 +68,6 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | private function getFileName() |
| 70 | 70 | { |
| 71 | - return Str::studly($this->argument('name')) . '.php'; |
|
| 71 | + return Str::studly($this->argument('name')).'.php'; |
|
| 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 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | |
| 73 | 73 | $seederPath = $this->laravel['modules']->config('paths.generator.filter'); |
| 74 | 74 | |
| 75 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
| 75 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
@@ -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 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | $module = $this->laravel['modules']->findOrFail($this->getModuleName()); |
| 79 | 79 | |
| 80 | - return (new Stub('/' . $stub . '.stub', [ |
|
| 80 | + return (new Stub('/'.$stub.'.stub', [ |
|
| 81 | 81 | 'NAMESPACE' => $this->getClassNamespace($module), |
| 82 | 82 | 'CLASS' => $this->getClass(), |
| 83 | 83 | ]))->render(); |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | $generatorPath = $this->laravel['modules']->config('paths.generator.provider'); |
| 94 | 94 | |
| 95 | - return $path . $generatorPath . '/' . $this->getFileName() . '.php'; |
|
| 95 | + return $path.$generatorPath.'/'.$this->getFileName().'.php'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
@@ -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 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | |
| 73 | 73 | $seederPath = $this->laravel['modules']->config('paths.generator.request'); |
| 74 | 74 | |
| 75 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
| 75 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
@@ -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 | /** |
@@ -71,6 +71,6 @@ |
||
| 71 | 71 | |
| 72 | 72 | $generatorPath = $this->laravel['modules']->config('paths.generator.provider'); |
| 73 | 73 | |
| 74 | - return $path . $generatorPath . '/' . $this->getFileName() . '.php'; |
|
| 74 | + return $path.$generatorPath.'/'.$this->getFileName().'.php'; |
|
| 75 | 75 | } |
| 76 | 76 | } |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | |
| 66 | 66 | $mailPath = $this->laravel['modules']->config('paths.generator.emails', 'Emails'); |
| 67 | 67 | |
| 68 | - return $path . $mailPath . '/' . $this->getFileName() . '.php'; |
|
| 68 | + return $path.$mailPath.'/'.$this->getFileName().'.php'; |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |