@@ -367,8 +367,8 @@ discard block |
||
367 | 367 | foreach ($this->getFiles() as $stub => $file) { |
368 | 368 | $path = $this->module->getModulePath($this->getName()).$file; |
369 | 369 | |
370 | - $this->component->task("Generating file {$path}", function () use ($stub, $path) { |
|
371 | - if (! $this->filesystem->isDirectory($dir = dirname($path))) { |
|
370 | + $this->component->task("Generating file {$path}", function() use ($stub, $path) { |
|
371 | + if (!$this->filesystem->isDirectory($dir = dirname($path))) { |
|
372 | 372 | $this->filesystem->makeDirectory($dir, 0775, true); |
373 | 373 | } |
374 | 374 | |
@@ -446,7 +446,7 @@ discard block |
||
446 | 446 | { |
447 | 447 | $replacements = $this->module->config('stubs.replacements'); |
448 | 448 | |
449 | - if (! isset($replacements[$stub])) { |
|
449 | + if (!isset($replacements[$stub])) { |
|
450 | 450 | return []; |
451 | 451 | } |
452 | 452 | |
@@ -477,8 +477,8 @@ discard block |
||
477 | 477 | { |
478 | 478 | $path = $this->module->getModulePath($this->getName()).'module.json'; |
479 | 479 | |
480 | - $this->component->task("Generating file $path", function () use ($path) { |
|
481 | - if (! $this->filesystem->isDirectory($dir = dirname($path))) { |
|
480 | + $this->component->task("Generating file $path", function() use ($path) { |
|
481 | + if (!$this->filesystem->isDirectory($dir = dirname($path))) { |
|
482 | 482 | $this->filesystem->makeDirectory($dir, 0775, true); |
483 | 483 | } |
484 | 484 |