Skip to content

Commit 4f8ff0f

Browse files
committed
Redis.hLen may return false if the key doesn't exist or isn't a hash
1 parent 0decda0 commit 4f8ff0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3594,7 +3594,7 @@ public function hGet($key, $hashKey)
35943594
*
35953595
* @param string $key
35963596
*
3597-
* @return int the number of items in a hash, FALSE if the key doesn't exist or isn't a hash
3597+
* @return int|false the number of items in a hash, FALSE if the key doesn't exist or isn't a hash
35983598
*
35993599
* @link https://redis.io/commands/hlen
36003600
* @example

0 commit comments

Comments
 (0)