Skip to content

Commit 23366dd

Browse files
muglugfelixfbecker
authored andcommitted
fix: Dispatcher::dispatch should return mixed (#31)
We have no idea what the method returns, so `mixed` is the most appropriate return type
1 parent 887e7fd commit 23366dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Dispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct($target, $delimiter = '->')
5858
* Calls the appropriate method handler for an incoming Message
5959
*
6060
* @param string|object $msg The incoming message
61-
* @return Result|void
61+
* @return mixed
6262
*/
6363
public function dispatch($msg)
6464
{

0 commit comments

Comments
 (0)