We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cafe1ac commit 801b780Copy full SHA for 801b780
src/Illuminate/Foundation/Testing/WithCachedConfig.php
@@ -26,15 +26,15 @@ protected function setUpWithCachedConfig(): void
26
*/
27
protected function tearDownWithCachedConfig(): void
28
{
29
- LoadConfiguration::setAlwaysUseConfig(null);
+ LoadConfiguration::alwaysUse(null);
30
}
31
32
/**
33
* Inform the container that the configuration is cached.
34
35
protected function markConfigCached(Application $app): void
36
37
- $app->instance('config_loaded_from_cache', true); // I'm not sure this is actually needed
+ $app->instance('config_loaded_from_cache', true);
38
39
LoadConfiguration::alwaysUse(static fn () => CachedState::$cachedConfig);
40
0 commit comments