Skip to content

Commit

Permalink
Remove unused block var
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Solnica committed Jan 23, 2018
1 parent b11c131 commit 054b514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dry/events/bus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(events: EMPTY_HASH, listeners: LISTENERS_HASH.dup)
end

# @api private
def process(event_id, payload, &block)
def process(event_id, payload)
listeners[event_id].each do |(listener, query)|
event = events[event_id].payload(payload)

Expand Down

0 comments on commit 054b514

Please sign in to comment.