From 587433f1127cc29314f1e019c4d49bb4f729b08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 6 Aug 2021 17:41:04 +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/Jwt/Jwt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Jwt/Jwt.php b/System/Jwt/Jwt.php index 78ac659d..6b1c4889 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -138,7 +138,7 @@ class Jwt extends Component * @return mixed * @throws JWTAuthTokenException */ - private function unpack(string $token): string + private function unpack(string $token): array { if (count($explode = explode('.', $token)) != 3) { throw new JWTAuthTokenException('JWT Voucher Format Error.');