@@ -30,7 +30,7 @@ |
||
30 | 30 | ]); |
31 | 31 | } |
32 | 32 | |
33 | - public function getInfo(): string|null |
|
33 | + public function getInfo(): string | null |
|
34 | 34 | { |
35 | 35 | return 'Publishing module config files ...'; |
36 | 36 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | { |
27 | 27 | $module = $this->getModuleModel($name); |
28 | 28 | |
29 | - $this->components->task("Publishing Migration <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { |
|
29 | + $this->components->task("Publishing Migration <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { |
|
30 | 30 | with(new MigrationPublisher(new Migrator($module, $this->getLaravel()))) |
31 | 31 | ->setRepository($this->laravel['modules']) |
32 | 32 | ->setConsole($this) |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | }); |
35 | 35 | } |
36 | 36 | |
37 | - public function getInfo(): string|null |
|
37 | + public function getInfo(): string | null |
|
38 | 38 | { |
39 | 39 | return 'Publishing module migrations ...'; |
40 | 40 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $module = $this->getModuleModel($name); |
26 | 26 | |
27 | - $this->components->task("Publishing Translations <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { |
|
27 | + $this->components->task("Publishing Translations <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { |
|
28 | 28 | with(new LangPublisher($module)) |
29 | 29 | ->setRepository($this->laravel['modules']) |
30 | 30 | ->setConsole($this) |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | }); |
33 | 33 | } |
34 | 34 | |
35 | - public function getInfo(): string|null |
|
35 | + public function getInfo(): string | null |
|
36 | 36 | { |
37 | 37 | return 'Publishing module translations ...'; |
38 | 38 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $module = $this->getModuleModel($name); |
26 | 26 | |
27 | - $this->components->task("Publishing Assets <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { |
|
27 | + $this->components->task("Publishing Assets <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { |
|
28 | 28 | with(new AssetPublisher($module)) |
29 | 29 | ->setRepository($this->laravel['modules']) |
30 | 30 | ->setConsole($this) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | } |
35 | 35 | |
36 | - public function getInfo(): string|null |
|
36 | + public function getInfo(): string | null |
|
37 | 37 | { |
38 | 38 | return 'Publishing module asset files ...'; |
39 | 39 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
36 | 36 | $factoryPath = GenerateConfigReader::read('views'); |
37 | 37 | |
38 | - return $path . $factoryPath->getPath() . '/' . $this->getFileName(); |
|
38 | + return $path.$factoryPath->getPath().'/'.$this->getFileName(); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -43,6 +43,6 @@ discard block |
||
43 | 43 | */ |
44 | 44 | private function getFileName(): string |
45 | 45 | { |
46 | - return Str::lower($this->argument('name')) . '.blade.php'; |
|
46 | + return Str::lower($this->argument('name')).'.blade.php'; |
|
47 | 47 | } |
48 | 48 | } |