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.');