From de2b4f288c5ba5839e5981e76d6153e2801b0d03 Mon Sep 17 00:00:00 2001 From: Leandro Henrique Date: Tue, 19 Mar 2024 18:32:34 -0300 Subject: [PATCH] fix addMinutes to Carbon 3 --- src/Claims/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Claims/Factory.php b/src/Claims/Factory.php index 93cb498a..8476de5b 100644 --- a/src/Claims/Factory.php +++ b/src/Claims/Factory.php @@ -199,7 +199,7 @@ public function setRequest(Request $request) */ public function setTTL($ttl) { - $this->ttl = $ttl; + $this->ttl = $ttl ? (int) $ttl : $ttl; return $this; }