改名
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user