Skip to content

Commit

Permalink
load deferred providers first
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Sep 1, 2017
1 parent fad090f commit 366c50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ public function bootstrap()
$this->app->bootstrapWith($this->bootstrappers());
}

$this->app->loadDeferredProviders();

if (! $this->commandsLoaded) {
$this->commands();

$this->commandsLoaded = true;
}

$this->app->loadDeferredProviders();
}

/**
Expand Down

0 comments on commit 366c50e

Please sign in to comment.