diff --git a/src/CacheItem.php b/src/CacheItem.php index b4d20dc..9a38750 100644 --- a/src/CacheItem.php +++ b/src/CacheItem.php @@ -39,10 +39,8 @@ public function getExpires() public function isHit() { - if ($this->isDeferred) { - if ($this->expires !== 0 && $this->expires <= time()) { - return false; - } + if ($this->expires !== 0 && $this->expires <= time()) { + return false; } return $this->value !== false;