We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d901bd commit f0d5ea1Copy full SHA for f0d5ea1
src/JWT.php
@@ -182,7 +182,7 @@ public static function decode(
182
}
183
184
// Check if this token has expired.
185
- if (isset($payload->exp) && floor($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
+ if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
186
$ex = new ExpiredException('Expired token');
187
$ex->setPayload($payload);
188
throw $ex;
0 commit comments