Completed
Pull Request — master (#348)
by Martin
03:05
created
src/Commands/MakeFactoryCommand.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.