webman-jwt icon indicating copy to clipboard operation
webman-jwt copied to clipboard

RedisHandler::clearToken 方法第二个参数类型有误

Open lozhu opened this issue 2 years ago • 2 comments

RedisHandler::clearToken($config['cache_token_pre'], self::getCurrentId()); 参数第二个类型是string,而self::getCurrendId()方法返回的是Int,报类型错误 php版本8.0

lozhu avatar Dec 09 '22 05:12 lozhu

msg : "Tinywan\Jwt\RedisHandler::clearToken(): Argument #2 ($uid) must be of type string, int given, called in /Users/lianzhang/Sites/newadmin/vendor/tinywan/jwt/src/JwtToken.php on line 363" traces

lozhu avatar Dec 09 '22 05:12 lozhu

已修复,请更新到:v1.5.2

Tinywan avatar Dec 09 '22 07:12 Tinywan