Skip to content

Commit

Permalink
fix: Dispatcher::dispatch should return mixed (#31)
Browse files Browse the repository at this point in the history
We have no idea what the method returns, so `mixed` is the most appropriate return type
  • Loading branch information
muglug authored and felixfbecker committed Sep 12, 2019
1 parent 887e7fd commit 23366dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function __construct($target, $delimiter = '->')
* Calls the appropriate method handler for an incoming Message
*
* @param string|object $msg The incoming message
* @return Result|void
* @return mixed
*/
public function dispatch($msg)
{
Expand Down

0 comments on commit 23366dd

Please sign in to comment.