We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 207c22e commit 18c6e40Copy full SHA for 18c6e40
1 file changed
src/Jwt.php
@@ -303,7 +303,7 @@ protected function validateToken(Token $token)
303
$claims = $token->getClaims();
304
305
// 注销没有store参数的Token
306
- if (!is_set($claims['store'])) {
+ if (!isset($claims['store'])) {
307
$this->logout($token);
308
throw new TokenAlreadyEexpired('此 Token 已注销,请重新登录', $this->getReloginCode());
309
}
0 commit comments