Completed
Pull Request — master (#1696)
by Solomon
06:02
created
src/Generators/ModuleGenerator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -367,8 +367,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.