From 996e20603c20312a1483eba2ca4d1e182e5f3380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 29 Oct 2020 11:08:54 +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/JSON.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/System/Core/JSON.php b/System/Core/JSON.php index 1fb731d6..3e641318 100644 --- a/System/Core/JSON.php +++ b/System/Core/JSON.php @@ -20,11 +20,11 @@ class JSON { /** - * @param string|array|mixed $data + * @param $data * @return false|string * @throws Exception */ - public static function encode(string|array|object $data) + public static function encode($data) { if (empty($data)) { return $data;