Skip to content

Commit 0744aec

Browse files
committed
Improve on return documentation
1 parent a3089b7 commit 0744aec

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
@@ -263,7 +263,7 @@ def hscan_each(key, **options, &block)
263263
# @param [String] key
264264
# @param [Integer] ttl
265265
# @param [Array<String>] fields
266-
# @return [Array<Integer>] The number of fields that were added to the hash
266+
# @return [Array<Integer>] Feedback on if the fields have been updated. See https://redis.io/docs/latest/commands/hexpire/ for array reply.
267267
def hexpire(key, ttl, *fields)
268268
send_command([:hexpire, key, ttl, 'FIELDS', fields.length, *fields])
269269
end

0 commit comments

Comments
 (0)