This commit is contained in:
2021-05-18 10:28:04 +08:00
parent ef7efe271c
commit 0ff172def1
2 changed files with 59 additions and 19 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace Snowflake\Abstracts;
use Exception;
use Snowflake\Core\ArrayAccess;
use Snowflake\Exception\ConfigException;
use Snowflake\Snowflake;
@@ -56,7 +57,7 @@ class Config extends Component
if (empty($configs)) {
return;
}
$config->data = $configs;
$config->data = ArrayAccess::merge($config->data, $configs);
}
/**