Skip to content

Commit

Permalink
Merge branch 'master' into separate-internal-application-files-from-p…
Browse files Browse the repository at this point in the history
…roject-structure-
  • Loading branch information
caendesilva authored Feb 9, 2023
2 parents 9e9d4d7 + 20e8307 commit 7ff0fa5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/framework/src/Framework/HydeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ public function boot(): void

protected function initializeConfiguration(): void
{
$this->app->register(ConfigurationServiceProvider::class);
$this->getConfigurationProvider()->initialize();
$this->app->register(ConfigurationServiceProvider::class)->initialize();
}

/**
Expand Down Expand Up @@ -151,9 +150,4 @@ protected function registerModuleServiceProviders(): void
{
$this->app->register(HydeConsoleServiceProvider::class);
}

protected function getConfigurationProvider(): ServiceProvider|ConfigurationServiceProvider
{
return $this->app->getProvider(ConfigurationServiceProvider::class);
}
}

0 comments on commit 7ff0fa5

Please sign in to comment.