From f49539cfd6fddee65e58aa970f71b700bfa1ae3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 8 May 2021 11:15:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Core/Help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Core/Help.php b/System/Core/Help.php index ede32159..c204952c 100644 --- a/System/Core/Help.php +++ b/System/Core/Help.php @@ -64,7 +64,7 @@ class Help public static function toArray($xml): mixed { if (empty($xml)) { - return null; + return []; } else if (is_array($xml)) { return $xml; }