diff --git a/src/Module.php b/src/Module.php index ca84144..5f4df6a 100644 --- a/src/Module.php +++ b/src/Module.php @@ -58,18 +58,16 @@ public function register(): void */ public function boot(): void { - $this->loadConfigs(); - $this->loadTranslations(); - $this->registerListeners(); - if ($this->app->runningInConsole()) { $this->registerCommands(); $this->loadCommandSchedule(); $this->loadMigrations(); $this->registerFactories(); - return; } + $this->loadConfigs(); + $this->loadTranslations(); + $this->registerListeners(); $this->loadViews(); $this->registerPolicies(); $this->registerMiddleware();