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; }