We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae0275 commit 5afb92bCopy full SHA for 5afb92b
src/phpFastCache/Core/StandardPsr6StructureTrait.php
@@ -155,7 +155,7 @@ public function clear()
155
public function deleteItem($key)
156
{
157
$item = $this->getItem($key);
158
- if ($this->hasItem($key) && $this->driverDelete($item)) {
+ if ($item->isHit() && $this->driverDelete($item)) {
159
$item->setHit(false);
160
CacheManager::$WriteHits++;
161
/**
0 commit comments