diff --git a/src/Caching/RedisStorage.php b/src/Caching/RedisStorage.php index 9edab0f..9d79b84 100644 --- a/src/Caching/RedisStorage.php +++ b/src/Caching/RedisStorage.php @@ -199,7 +199,7 @@ public function clean(array $conditions): void // cleaning using journal if ($this->journal !== null) { $keys = $this->journal->clean($conditions); - if ($keys !== null) { + if ($keys !== null && $keys !== []) { $this->client->del($keys); } }