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 8a65911 commit 61e9c13Copy full SHA for 61e9c13
Bootstrap/RegisterProviders.php
@@ -40,13 +40,19 @@ protected function mergeAdditionalProviders(Application $app): void
40
/** @var ConfigContainer $config */
41
$config = $app->make(name: 'codefy.config');
42
43
- $config->setConfigKey(
44
- 'app.providers',
+ $arrayMerge = array_unique(
45
array_merge(
46
- $config->getConfigKey('app.providers'),
47
- self::$merge
+ self::$merge,
+ $config->getConfigKey(key: 'app.providers'),
48
)
49
);
+
50
+ $config->setConfigKey(
51
+ 'app',
52
+ [
53
+ 'providers' => $arrayMerge,
54
+ ]
55
+ );
56
}
57
58
/**
0 commit comments