| @@ -39,7 +39,7 @@ discard block | ||
| 39 | 39 | |
| 40 | 40 | abstract function executeAction($name); | 
| 41 | 41 | |
| 42 | - public function getInfo(): string|null | |
| 42 | + public function getInfo(): string | null | |
| 43 | 43 |      { | 
| 44 | 44 | return NULL; | 
| 45 | 45 | } | 
| @@ -49,7 +49,7 @@ discard block | ||
| 49 | 49 | */ | 
| 50 | 50 | public function handle() | 
| 51 | 51 |      { | 
| 52 | -        if (! is_null($info = $this->getInfo())) { | |
| 52 | +        if (!is_null($info = $this->getInfo())) { | |
| 53 | 53 | $this->components->info($info); | 
| 54 | 54 | } | 
| 55 | 55 | |
| @@ -69,7 +69,7 @@ discard block | ||
| 69 | 69 | return; | 
| 70 | 70 | } | 
| 71 | 71 | |
| 72 | -        if (! empty($input->getArgument('module'))) { | |
| 72 | +        if (!empty($input->getArgument('module'))) { | |
| 73 | 73 | return; | 
| 74 | 74 | } | 
| 75 | 75 | |
| @@ -24,12 +24,12 @@ | ||
| 24 | 24 |      { | 
| 25 | 25 | $module = $this->getModuleModel($name); | 
| 26 | 26 | |
| 27 | -        $this->components->task("Forget Using <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | |
| 27 | +        $this->components->task("Forget Using <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { | |
| 28 | 28 | $this->laravel['modules']->forgetUsed($module); | 
| 29 | 29 | }); | 
| 30 | 30 | } | 
| 31 | 31 | |
| 32 | - function getInfo(): string|null | |
| 32 | + function getInfo(): string | null | |
| 33 | 33 |      { | 
| 34 | 34 | return 'Forget Using Module ...'; | 
| 35 | 35 | } | 
| @@ -22,12 +22,12 @@ | ||
| 22 | 22 |      { | 
| 23 | 23 | $module = $this->getModuleModel($name); | 
| 24 | 24 | |
| 25 | -        $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | |
| 25 | +        $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { | |
| 26 | 26 | $this->laravel['modules']->update($module); | 
| 27 | 27 | }); | 
| 28 | 28 | } | 
| 29 | 29 | |
| 30 | - function getInfo(): string|null | |
| 30 | + function getInfo(): string | null | |
| 31 | 31 |      { | 
| 32 | 32 | return 'Updating Module ...'; | 
| 33 | 33 | } | 
| @@ -25,7 +25,7 @@ discard block | ||
| 25 | 25 |      { | 
| 26 | 26 | $module = $this->getModuleModel($name); | 
| 27 | 27 | |
| 28 | -        $this->components->task("Publishing Assets <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | |
| 28 | +        $this->components->task("Publishing Assets <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { | |
| 29 | 29 | with(new AssetPublisher($module)) | 
| 30 | 30 | ->setRepository($this->laravel['modules']) | 
| 31 | 31 | ->setConsole($this) | 
| @@ -34,7 +34,7 @@ discard block | ||
| 34 | 34 | |
| 35 | 35 | } | 
| 36 | 36 | |
| 37 | - function getInfo(): string|null | |
| 37 | + function getInfo(): string | null | |
| 38 | 38 |      { | 
| 39 | 39 | return 'Publishing module asset files ...'; | 
| 40 | 40 | } | 
| @@ -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 | - function getInfo(): string|null | |
| 37 | + function getInfo(): string | null | |
| 38 | 38 |      { | 
| 39 | 39 | return 'Publishing module migrations ...'; | 
| 40 | 40 | } | 
| @@ -22,12 +22,12 @@ | ||
| 22 | 22 |      { | 
| 23 | 23 | $module = $this->getModuleModel($name); | 
| 24 | 24 | |
| 25 | -        $this->components->task("Using <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | |
| 25 | +        $this->components->task("Using <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { | |
| 26 | 26 | $this->laravel['modules']->setUsed($module); | 
| 27 | 27 | }); | 
| 28 | 28 | } | 
| 29 | 29 | |
| 30 | - function getInfo(): string|null | |
| 30 | + function getInfo(): string | null | |
| 31 | 31 |      { | 
| 32 | 32 | return 'Using Module ...'; | 
| 33 | 33 | } | 
| @@ -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 | - function getInfo(): string|null | |
| 35 | + function getInfo(): string | null | |
| 36 | 36 |      { | 
| 37 | 37 | return 'Publishing module translations ...'; | 
| 38 | 38 | } | 
| @@ -10,12 +10,12 @@ | ||
| 10 | 10 | public function executeAction($name): void | 
| 11 | 11 |      { | 
| 12 | 12 | $module = $this->getModuleModel($name); | 
| 13 | -        $this->components->task("Deleting <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | |
| 13 | +        $this->components->task("Deleting <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) { | |
| 14 | 14 | $module->delete(); | 
| 15 | 15 | }); | 
| 16 | 16 | } | 
| 17 | 17 | |
| 18 | - public function getInfo(): string|null | |
| 18 | + public function getInfo(): string | null | |
| 19 | 19 |      { | 
| 20 | 20 | return 'deleting module ...'; | 
| 21 | 21 | } | 
| @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ]); | 
| 31 | 31 | } | 
| 32 | 32 | |
| 33 | - function getInfo(): string|null | |
| 33 | + function getInfo(): string | null | |
| 34 | 34 |      { | 
| 35 | 35 | return 'Publishing module config files ...'; | 
| 36 | 36 | } |