Skip to content

Commit

Permalink
- fix null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEssex committed Feb 5, 2021
1 parent 5bc1fb1 commit d7ff5b1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ApcuCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit d7ff5b1

Please sign in to comment.