@@ -170,10 +170,10 @@ discard block |
||
170 | 170 | |
171 | 171 | public function generateFile($path, $stub, $namespace) |
172 | 172 | { |
173 | - if (! $this->filesystem->exists($path) || $this->confirm($path.' already exists! Continue?')) { |
|
173 | + if (!$this->filesystem->exists($path) || $this->confirm($path.' already exists! Continue?')) { |
|
174 | 174 | $content = str_replace('$NAMESPACE$', $namespace, $stub); |
175 | 175 | |
176 | - if (! $this->filesystem->isDirectory($dir = dirname($path))) { |
|
176 | + if (!$this->filesystem->isDirectory($dir = dirname($path))) { |
|
177 | 177 | $this->filesystem->makeDirectory($dir, 0777, true, true); |
178 | 178 | } |
179 | 179 | |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | $path = config('repository.generator.stubsOverridePath', $defaultPath); |
191 | 191 | |
192 | 192 | // rollback |
193 | - if (! file_exists($path.'/Stubs/base/'.$stub.'.stub')) { |
|
193 | + if (!file_exists($path.'/Stubs/base/'.$stub.'.stub')) { |
|
194 | 194 | $path = $defaultPath; |
195 | 195 | } |
196 | 196 |