Skip to content

Commit 48e39fb

Browse files
committed
Fix documentation
1 parent 3cbdd82 commit 48e39fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/commands/hashes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def hscan_each(key, **options, &block)
262262
# @param [String] key
263263
# @param [Integer] ttl
264264
# @param [Array<String>] fields
265-
# @return [Integer] The number of fields that were added to the hash
265+
# @return [Array<Integer>] The number of fields that were added to the hash
266266
def hexpire(key, ttl, *fields)
267267
send_command([:hexpire, key, ttl, 'FIELDS', fields.length, *fields])
268268
end

0 commit comments

Comments
 (0)