Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Blacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function getMinutesUntilExpired(Payload $payload)
// get the latter of the two expiration dates and find
// the number of minutes until the expiration date,
// plus 1 minute to avoid overlap
return $exp->max($iat->addMinutes($this->refreshTTL))->addMinute()->diffInRealMinutes();
return (int) $exp->max($iat->addMinutes($this->refreshTTL))->addMinute()->diffInMinutes(absolute: true);
}

/**
Expand Down