From 9fa69f383a92258d4bbb24650b9747235fef471f Mon Sep 17 00:00:00 2001 From: farsheedeveloper Date: Wed, 29 May 2024 15:00:34 +0330 Subject: [PATCH 1/2] Change the TTL type to an integer. Bug #2256 --- 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 9985ddc8..9e823d90 100644 --- a/src/Claims/Factory.php +++ b/src/Claims/Factory.php @@ -191,7 +191,7 @@ public function setRequest(Request $request) */ public function setTTL($ttl) { - $this->ttl = $ttl; + $this->ttl = (int) $ttl; return $this; } From a3b92484ba3eaefcef6e90e430775d4e073bd91f Mon Sep 17 00:00:00 2001 From: farsheedeveloper Date: Wed, 29 May 2024 15:17:13 +0330 Subject: [PATCH 2/2] Change the LEEWAY type to an integer. Bug #2264 --- 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 9e823d90..808a607e 100644 --- a/src/Claims/Factory.php +++ b/src/Claims/Factory.php @@ -214,7 +214,7 @@ public function getTTL() */ public function setLeeway($leeway) { - $this->leeway = $leeway; + $this->leeway = (int) $leeway; return $this; }