Skip to content

Commit

Permalink
Fix how configurations are merged with defaults, fixes #96
Browse files Browse the repository at this point in the history
  • Loading branch information
maaube committed Jun 30, 2016
1 parent 802dfae commit cc3b40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vinelab/Cdn/Providers/AwsS3Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function init($configurations)
{
// merge the received config array with the default configurations array to
// fill missed keys with null or default values.
$this->default = array_merge($this->default, $configurations);
$this->default = array_replace_recursive($this->default, $configurations);

$supplier = [
'provider_url' => $this->default['url'],
Expand Down

0 comments on commit cc3b40d

Please sign in to comment.