@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | protected function configure() |
24 | 24 | { |
25 | 25 | $this |
26 | - ->setName('create:' . $this->type) |
|
27 | - ->setDescription('Create a new ' . ucfirst($this->type)) |
|
26 | + ->setName('create:'.$this->type) |
|
27 | + ->setDescription('Create a new '.ucfirst($this->type)) |
|
28 | 28 | ->addArgument( |
29 | 29 | 'namespace', |
30 | 30 | InputArgument::REQUIRED, |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | ->addArgument( |
34 | 34 | 'name', |
35 | 35 | InputArgument::REQUIRED, |
36 | - 'Name of the ' . ucfirst($this->type) |
|
36 | + 'Name of the '.ucfirst($this->type) |
|
37 | 37 | ) |
38 | 38 | ; |
39 | 39 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | // args |
49 | 49 | $namespace = str_replace('.', '\\', $input->getArgument('namespace')); |
50 | 50 | $name = $input->getArgument('name'); |
51 | - $filename = $path . str_plural($name) . '.php'; |
|
51 | + $filename = $path.str_plural($name).'.php'; |
|
52 | 52 | |
53 | 53 | // only write file if path exists and file does not exist yet |
54 | 54 | if (file_exists($path) && !file_exists($filename)) { |