From d7ff5b1dede3b6b00cf8c3a0a7a5f61bfed70f7b Mon Sep 17 00:00:00 2001 From: Kyle Essex Date: Fri, 5 Feb 2021 15:51:55 +0000 Subject: [PATCH] - fix null pointer --- src/ApcuCache.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ApcuCache.php b/src/ApcuCache.php index 74432ee..7d29f67 100644 --- a/src/ApcuCache.php +++ b/src/ApcuCache.php @@ -137,11 +137,6 @@ public function has($key) $key = $this->_generateKey($key); $this->_validateKey($key); - if($this->_cacheKeys[$key]) - { - return true; - } - return apcu_exists($key); } }