Skip to content

Commit

Permalink
doc: Fix warnings caused by missing param names
Browse files Browse the repository at this point in the history
  • Loading branch information
gevans committed Feb 16, 2016
1 parent ea6e949 commit d4a6c58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/sidekiq/throttler/storage/memory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize
##
# Number of executions for +key+.
#
# @param [String]
# @param [String] key
# Key to fetch count for
#
# @return [Fixnum]
Expand All @@ -40,7 +40,7 @@ def prune(key, cutoff)
# @param [String] key
# The key to append to
#
# @param [Time]
# @param [Time] time
# The time to insert
def append(key, time)
@hash[key] << time
Expand Down
4 changes: 2 additions & 2 deletions lib/sidekiq/throttler/storage/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Redis
##
# Number of executions for +key+.
#
# @param [String]
# @param [String] key
# Key to fetch count for
#
# @return [Fixnum]
Expand Down Expand Up @@ -60,7 +60,7 @@ def prune(key, cutoff)
# @param [String] key
# The key to append to
#
# @param [Time]
# @param [Time] time
# The time to insert
def append(key, time)
Sidekiq.redis do |conn|
Expand Down

0 comments on commit d4a6c58

Please sign in to comment.