Skip to content

Commit

Permalink
Merge pull request #239 from emtudo/main
Browse files Browse the repository at this point in the history
fix addMinutes to Carbon 3
  • Loading branch information
Messhias authored Mar 19, 2024
2 parents 41e6a74 + de2b4f2 commit 195bd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Claims/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function setRequest(Request $request)
*/
public function setTTL($ttl)
{
$this->ttl = $ttl;
$this->ttl = $ttl ? (int) $ttl : $ttl;

return $this;
}
Expand Down

0 comments on commit 195bd0c

Please sign in to comment.