@@ -45,7 +45,7 @@ |
||
45 | 45 | $namespace = str_replace('.', '\\', $input->getArgument('namespace')); |
46 | 46 | $name = $input->getArgument('name'); |
47 | 47 | $path = $this->getApplication()->endpointPath(); |
48 | - $file = $path . str_plural($name) . '.php'; |
|
48 | + $file = $path.str_plural($name).'.php'; |
|
49 | 49 | |
50 | 50 | // only write file if path exists and file does not exist yet |
51 | 51 | if (file_exists($path) && !file_exists($file)) { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | // set paths |
33 | 33 | $sep = DIRECTORY_SEPARATOR; |
34 | - $this->basePath = __DIR__ . "$sep..$sep..$sep"; |
|
34 | + $this->basePath = __DIR__."$sep..$sep..$sep"; |
|
35 | 35 | $this->dirs['endpoint'] = "src{$sep}Endpoints"; |
36 | 36 | $this->dirs['model'] = "src{$sep}Models"; |
37 | 37 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function endpointPath($path = "") |
48 | 48 | { |
49 | - return $this->basePath . $this->dirs['endpoint'] . DIRECTORY_SEPARATOR . $path; |
|
49 | + return $this->basePath.$this->dirs['endpoint'].DIRECTORY_SEPARATOR.$path; |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
@@ -55,6 +55,6 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function modelPath($path = "") |
57 | 57 | { |
58 | - return $this->basePath . $this->dirs['model'] . DIRECTORY_SEPARATOR . $path; |
|
58 | + return $this->basePath.$this->dirs['model'].DIRECTORY_SEPARATOR.$path; |
|
59 | 59 | } |
60 | 60 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $namespace = str_replace('.', '\\', $input->getArgument('namespace')); |
46 | 46 | $name = $input->getArgument('name'); |
47 | 47 | $path = $this->getApplication()->modelPath(); |
48 | - $file = $path . str_plural($name) . '.php'; |
|
48 | + $file = $path.str_plural($name).'.php'; |
|
49 | 49 | |
50 | 50 | // only write file if path exists and file does not exist yet |
51 | 51 | if (file_exists($path) && !file_exists($file)) { |