File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ handler is registered. The ``HandleTrait`` can be used in any class that has a
4040 namespace App\Action;
4141
4242 use App\Message\ListItemsQuery;
43- use App\MessageHandler\ListItemsResult ;
43+ use App\MessageHandler\ListItemsQueryResult ;
4444 use Symfony\Component\Messenger\HandleTrait;
4545 use Symfony\Component\Messenger\MessageBusInterface;
4646
@@ -62,7 +62,7 @@ handler is registered. The ``HandleTrait`` can be used in any class that has a
6262 }
6363
6464 // Creating such a method is optional, but allows type-hinting the result
65- private function query(ListItemsQuery $query): ListItemsResult
65+ private function query(ListItemsQuery $query): ListItemsQueryResult
6666 {
6767 return $this->handle($query);
6868 }
You can’t perform that action at this time.
0 commit comments