Skip to content

Commit 332a969

Browse files
authored
Update Config.php
1 parent 49bb074 commit 332a969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public function __construct()
2525
*/
2626
public static function merge(callable ... $providers): array
2727
{
28-
return (new ConfigAggregator(static fn() => ['debug' => self::$devMode, ConfigAggregator::ENABLE_CACHE => !self::$devMode && self::$cacheFile != null], self::$cacheFile))->getMergedConfig();
28+
return (new ConfigAggregator(array_merge($providers, [static fn(): array => ['debug' => self::$devMode, ConfigAggregator::ENABLE_CACHE => !self::$devMode && self::$cacheFile != null]])))->getMergedConfig();
2929
}
3030
}

0 commit comments

Comments
 (0)