Skip to content

Commit

Permalink
fix addMinutes to Carbon 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emtudo committed Mar 19, 2024
1 parent 41e6a74 commit de2b4f2
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 de2b4f2

Please sign in to comment.