@@ -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 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | // $factoryPath = $this->laravel['modules']->config('paths.generator.factories'); |
| 66 | 66 | |
| 67 | - return $path . 'Database/factories/' . $this->getFileName(); |
|
| 67 | + return $path.'Database/factories/'.$this->getFileName(); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -72,6 +72,6 @@ discard block |
||
| 72 | 72 | */ |
| 73 | 73 | private function getFileName() |
| 74 | 74 | { |
| 75 | - return Str::studly($this->argument('name')) . '.php'; |
|
| 75 | + return Str::studly($this->argument('name')).'.php'; |
|
| 76 | 76 | } |
| 77 | 77 | } |