Skip to content

Commit f3e058e

Browse files
author
julien
committed
fix(queryBus): Change signature dispatch
1 parent 7446387 commit f3e058e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Query/QueryBusDispatcher.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ public function __construct(iterable $handlers)
2020
/**
2121
* @param Query $query
2222
*
23-
* @return array
2423
*/
25-
public function dispatch(Query $query): array
24+
public function dispatch(Query $query)
2625
{
2726
$queryClass = get_class($query);
2827
if (false === array_key_exists($queryClass, $this->handlers)) {

0 commit comments

Comments
 (0)