From 4f8ff0f15e592cdfe3724fb5f412f273fad913c1 Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Tue, 6 Aug 2019 15:35:48 +0200 Subject: [PATCH] Redis.hLen may return false if the key doesn't exist or isn't a hash --- src/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis.php b/src/Redis.php index b60dc8e..15beb43 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -3594,7 +3594,7 @@ public function hGet($key, $hashKey) * * @param string $key * - * @return int the number of items in a hash, FALSE if the key doesn't exist or isn't a hash + * @return int|false the number of items in a hash, FALSE if the key doesn't exist or isn't a hash * * @link https://redis.io/commands/hlen * @example