From 4db233605ae2f95d9b350c500525e10af77c2fc9 Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Tue, 6 Aug 2019 15:32:02 +0200 Subject: [PATCH] Redis.hDel may return false if the hash table doesn't exist, or the key doesn't exist --- src/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis.php b/src/Redis.php index b60dc8e..a14f9ff 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -3617,7 +3617,7 @@ public function hLen($key) * @param string $hashKey1 * @param string ...$otherHashKeys * - * @return int Number of deleted fields + * @return int|false Number of deleted fields * * @link https://redis.io/commands/hdel * @example