Skip to content

Commit

Permalink
Update Emitter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Dec 16, 2016
1 parent f987201 commit 3f84dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Event/Emitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function listeners($event_name)
return $listeners;
}

public function emit($event_name)
public function emit($event_name = null)
{
if(empty($event_name) || empty($this->_eventListenerMap[$event_name]))
{
Expand Down

0 comments on commit 3f84dfb

Please sign in to comment.