Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lozhu opened this issue Dec 9, 2022 · 2 comments
Open

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

lozhu opened this issue Dec 9, 2022 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@lozhu
Copy link

lozhu commented Dec 9, 2022

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

@lozhu
Copy link
Author

lozhu commented Dec 9, 2022

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

@Tinywan
Copy link
Owner

Tinywan commented Dec 9, 2022

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

@Tinywan Tinywan added bug Something isn't working question Further information is requested labels Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants