Skip to content

Commit d95d252

Browse files
authored
[8.x] mergeConfigFrom() already check if app is running with config cached.
https://github.com/illuminate/support/blob/6.x/ServiceProvider.php#L60-L67
1 parent 4088cdf commit d95d252

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PassportServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ protected function registerMigrations()
8787
*/
8888
public function register()
8989
{
90-
if (! $this->app->configurationIsCached()) {
91-
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
92-
}
90+
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
9391

9492
$this->registerAuthorizationServer();
9593
$this->registerResourceServer();

0 commit comments

Comments
 (0)