diff --git a/src/Claims/Factory.php b/src/Claims/Factory.php index 9985ddc8..808a607e 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; } @@ -214,7 +214,7 @@ public function getTTL() */ public function setLeeway($leeway) { - $this->leeway = $leeway; + $this->leeway = (int) $leeway; return $this; }