From e8b40185cb5a71a9e80b12515dc4480b8a084088 Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Thu, 11 Jan 2018 13:26:11 +0000 Subject: [PATCH] Change expire logic --- src/CacheItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CacheItem.php b/src/CacheItem.php index 9a38750..b719279 100644 --- a/src/CacheItem.php +++ b/src/CacheItem.php @@ -39,7 +39,7 @@ public function getExpires() public function isHit() { - if ($this->expires !== 0 && $this->expires <= time()) { + if ($this->expires !== 0 && $this->expires < time()) { return false; }