This commit is contained in:
2021-05-08 11:15:17 +08:00
parent d454e66cc0
commit f49539cfd6
+1 -1
View File
@@ -64,7 +64,7 @@ class Help
public static function toArray($xml): mixed public static function toArray($xml): mixed
{ {
if (empty($xml)) { if (empty($xml)) {
return null; return [];
} else if (is_array($xml)) { } else if (is_array($xml)) {
return $xml; return $xml;
} }