Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657e662 commit d84c04cCopy full SHA for d84c04c
1 file changed
messenger/handler_results.rst
@@ -40,7 +40,7 @@ handler is registered. The ``HandleTrait`` can be used in any class that has a
40
namespace App\Action;
41
42
use App\Message\ListItemsQuery;
43
- use App\MessageHandler\ListItemsResult;
+ use App\MessageHandler\ListItemsQueryResult;
44
use Symfony\Component\Messenger\HandleTrait;
45
use Symfony\Component\Messenger\MessageBusInterface;
46
@@ -62,7 +62,7 @@ handler is registered. The ``HandleTrait`` can be used in any class that has a
62
}
63
64
// Creating such a method is optional, but allows type-hinting the result
65
- private function query(ListItemsQuery $query): ListItemsResult
+ private function query(ListItemsQuery $query): ListItemsQueryResult
66
{
67
return $this->handle($query);
68
0 commit comments