Skip to content

Commit

Permalink
Merge pull request #111 from dol/fix/array_merge_recursive
Browse files Browse the repository at this point in the history
Fix issue with overwrite of existing preset config options
  • Loading branch information
nunomaduro authored May 20, 2019
2 parents 9e8b65c + 4ee5f52 commit 0567bab
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 0567bab

Please sign in to comment.