From 411419273cf8778cca7257e59d24890abfb1404b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 9 Mar 2021 13:50:36 +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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/System/Jwt/Jwt.php b/System/Jwt/Jwt.php index 88acb3b7..f879bef0 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -5,6 +5,7 @@ namespace Snowflake\Jwt; use Exception; use HttpServer\Http\HttpHeaders; +use ReflectionException; use Snowflake\Cache\Redis; use Snowflake\Abstracts\Config; use Snowflake\Core\Str; @@ -12,6 +13,7 @@ use Snowflake\Exception\AuthException; use Snowflake\Abstracts\Component; use Snowflake\Exception\ComponentException; use Snowflake\Exception\ConfigException; +use Snowflake\Exception\NotFindClassException; use Snowflake\Snowflake; @@ -453,6 +455,8 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY= /** * @return Redis|\Redis * @throws ComponentException + * @throws ReflectionException + * @throws NotFindClassException */ private function getRedis(): Redis|\Redis {