Skip to content

Commit 4299b2e

Browse files
committed
Change back to the old way
1 parent 540a386 commit 4299b2e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Module.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,16 @@ public function register(): void
5858
*/
5959
public function boot(): void
6060
{
61-
$this->loadConfigs();
62-
$this->loadTranslations();
63-
$this->registerListeners();
64-
6561
if ($this->app->runningInConsole()) {
6662
$this->registerCommands();
6763
$this->loadCommandSchedule();
6864
$this->loadMigrations();
6965
$this->registerFactories();
70-
return;
7166
}
7267

68+
$this->loadConfigs();
69+
$this->loadTranslations();
70+
$this->registerListeners();
7371
$this->loadViews();
7472
$this->registerPolicies();
7573
$this->registerMiddleware();

0 commit comments

Comments
 (0)