This commit is contained in:
2021-03-09 13:50:36 +08:00
parent 0c2ceceba2
commit 411419273c
+4
View File
@@ -5,6 +5,7 @@ namespace Snowflake\Jwt;
use Exception; use Exception;
use HttpServer\Http\HttpHeaders; use HttpServer\Http\HttpHeaders;
use ReflectionException;
use Snowflake\Cache\Redis; use Snowflake\Cache\Redis;
use Snowflake\Abstracts\Config; use Snowflake\Abstracts\Config;
use Snowflake\Core\Str; use Snowflake\Core\Str;
@@ -12,6 +13,7 @@ use Snowflake\Exception\AuthException;
use Snowflake\Abstracts\Component; use Snowflake\Abstracts\Component;
use Snowflake\Exception\ComponentException; use Snowflake\Exception\ComponentException;
use Snowflake\Exception\ConfigException; use Snowflake\Exception\ConfigException;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake; use Snowflake\Snowflake;
@@ -453,6 +455,8 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
/** /**
* @return Redis|\Redis * @return Redis|\Redis
* @throws ComponentException * @throws ComponentException
* @throws ReflectionException
* @throws NotFindClassException
*/ */
private function getRedis(): Redis|\Redis private function getRedis(): Redis|\Redis
{ {