From 4299b2e80870dc6ce9eb58f448bd7a51abe8362f Mon Sep 17 00:00:00 2001 From: Rick Gout Date: Mon, 4 May 2020 13:36:03 +0200 Subject: [PATCH] Change back to the old way --- src/Module.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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();