diff --git a/src/Cache/Manager.php b/src/Cache/Manager.php index 9a4a7ea..e4c3822 100644 --- a/src/Cache/Manager.php +++ b/src/Cache/Manager.php @@ -61,12 +61,8 @@ public function invalidateCache(array $collection): void { foreach ($collection as $item) { $key = $this->normalizeKey($item); - if ($this->cache->has($key)) { - $this->cache->getAdapter()->setForever( - $key, - microtime(true), - ); + $this->cache->delete($key); } } }