Skip to content

Commit

Permalink
Dispatcher::fire() accepts either string or object as first arg
Browse files Browse the repository at this point in the history
  • Loading branch information
danharper committed Jan 28, 2015
1 parent 4001019 commit 1099827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function until($event, $payload = array());
/**
* Fire an event and call the listeners.
*
* @param string $event
* @param string|object $event
* @param mixed $payload
* @param bool $halt
* @return array|null
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function firing()
/**
* Fire an event and call the listeners.
*
* @param string $event
* @param string|object $event
* @param mixed $payload
* @param bool $halt
* @return array|null
Expand Down

0 comments on commit 1099827

Please sign in to comment.