Skip to content

Commit

Permalink
Fix issue with overwrite of existing preset config options
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Luechinger committed May 20, 2019
1 parent 7e07191 commit 4ee5f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/ConfigResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function resolve(array $config, string $directory): array

foreach (self::$presets as $presetClass) {
if ($presetClass::getName() === $preset) {
$config = array_merge_recursive($presetClass::get(), $config);
$config = array_replace_recursive($presetClass::get(), $config);
}
}

Expand Down

0 comments on commit 4ee5f52

Please sign in to comment.