Skip to content

Commit 965c317

Browse files
committed
Update documentation
1 parent a49defb commit 965c317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redis/commands/hashes.rb

Lines changed: 2 additions & 2 deletions
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>] Feedback on if the fields have been updated. See https://redis.io/docs/latest/commands/hexpire/ for array reply.
266+
# @return [Array<Integer>] Feedback on if the fields have been updated. See https://redis.io/docs/latest/commands/hexpire/#return-information for array reply.
267267
def hexpire(key, ttl, *fields)
268268
send_command([:hexpire, key, ttl, 'FIELDS', fields.length, *fields])
269269
end
@@ -277,7 +277,7 @@ def hexpire(key, ttl, *fields)
277277
#
278278
# @param [String] key
279279
# @param [Array<String>] fields
280-
# @return [Array<Integer>] The number of fields that were added to the hash
280+
# @return [Array<Integer>] Feedback on the TTL of the fields. See https://redis.io/docs/latest/commands/httl/#return-information for array reply.
281281
def httl(key, *fields)
282282
send_command([:httl, key, 'FIELDS', fields.length, *fields])
283283
end

0 commit comments

Comments
 (0)