diff --git a/src/Cache/IlluminateCache.php b/src/Cache/IlluminateCache.php
index <HASH>..<HASH> 100644
--- a/src/Cache/IlluminateCache.php
+++ b/src/Cache/IlluminateCache.php
@@ -63,7 +63,7 @@ class IlluminateCache extends AbstractCache
         $this->client = $client;
         $this->key = $key;
         if ($ttl) {
-            $this->ttl = ceil($ttl / 60);
+            $this->ttl = (int) ceil($ttl / 60);
         }
     }
Make sure the ttl in an integer