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
40
40
namespace App\Action;
41
41
42
42
use App\Message\ListItemsQuery;
43
- use App\MessageHandler\ListItemsResult ;
43
+ use App\MessageHandler\ListItemsQueryResult ;
44
44
use Symfony\Component\Messenger\HandleTrait;
45
45
use Symfony\Component\Messenger\MessageBusInterface;
46
46
@@ -62,7 +62,7 @@ handler is registered. The ``HandleTrait`` can be used in any class that has a
62
62
}
63
63
64
64
// 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
66
66
{
67
67
return $this->handle($query);
68
68
}
You can’t perform that action at this time.
0 commit comments