Skip to content

Commit 3a70e95

Browse files
committed
Fix env loading
1 parent 0216c1b commit 3a70e95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Configuration/Loader.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ public function boot(): Loader
179179
// Load the env configuration first
180180
$env_config = $this->createConfiguration(EnvConfiguration::class, $container);
181181

182-
// Load the .env or .env.json file
183-
$this->loadEnvfile();
184-
185182
$env_config->run();
186183

184+
// Load the .env or .env.json file
185+
$this->loadConfigFiles();
186+
187187
// Configuration of services
188188
$loaded_configurations = $this->createConfigurations(
189189
array_merge([CompassConfiguration::class], $this->configurations()),
@@ -279,7 +279,7 @@ private function loadEvents(): void
279279
* @return void
280280
* @throws
281281
*/
282-
private function loadEnvfile(): void
282+
private function loadConfigFiles(): void
283283
{
284284
/**
285285
* We load all Bow configuration

0 commit comments

Comments
 (0)