diff --git a/wx/Config.php b/wx/Config.php index 8da54d5..05dd8cc 100644 --- a/wx/Config.php +++ b/wx/Config.php @@ -403,6 +403,9 @@ class Config */ public function setConfigs(array $configs) { + if (empty($configs)) { + return $this; + } foreach ($configs as $key => $val) { if (empty($val) || is_array($val)) { continue;