Skip to content

Commit

Permalink
Fixed a bug in composer.json when trying to override default options …
Browse files Browse the repository at this point in the history
…like required php version (#305)
  • Loading branch information
gugglegum authored Oct 18, 2023
1 parent 470b148 commit 43b5800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function addAutoloadToComposerJson(array &$content): Composer

protected function addComposerSettings(array &$content): Composer
{
$content = array_merge_recursive($content, $this->getGenerator()->getOptionComposerSettings());
$content = array_replace_recursive($content, $this->getGenerator()->getOptionComposerSettings());

return $this;
}
Expand Down

0 comments on commit 43b5800

Please sign in to comment.