We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49bb074 commit 332a969Copy full SHA for 332a969
src/Config.php
@@ -25,6 +25,6 @@ public function __construct()
25
*/
26
public static function merge(callable ... $providers): array
27
{
28
- return (new ConfigAggregator(static fn() => ['debug' => self::$devMode, ConfigAggregator::ENABLE_CACHE => !self::$devMode && self::$cacheFile != null], self::$cacheFile))->getMergedConfig();
+ return (new ConfigAggregator(array_merge($providers, [static fn(): array => ['debug' => self::$devMode, ConfigAggregator::ENABLE_CACHE => !self::$devMode && self::$cacheFile != null]])))->getMergedConfig();
29
}
30
0 commit comments