hassankhan / config

Config is a lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
MIT License
971 stars 136 forks source link

Config method merge bug #145

Closed shaukei closed 2 years ago

shaukei commented 2 years ago

image

PR: class AbstractConfig: public function merge(ConfigInterface $config) { $this->data = array_replace_recursive($this->data, $config->all()); +++ $this->cache = []; return $this; }

DavidePastore commented 2 years ago

Hi @shaukei. Thanks for reporting this.