From ed5bbc00ab53e382c785561492043ba3523d2900 Mon Sep 17 00:00:00 2001 From: Dushyant Joshi Date: Fri, 3 May 2024 09:59:55 +0530 Subject: [PATCH] Update controller.rst Use statement is wrong and throwing error. Used proper class name use App\Model\UserDTO; --- controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.rst b/controller.rst index c44f0dafdac..d5f8a8b8cd6 100644 --- a/controller.rst +++ b/controller.rst @@ -410,7 +410,7 @@ optional validation constraints:: You can then use the :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapQueryString` attribute in your controller:: - use App\Model\UserDto; + use App\Model\UserDTO; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Attribute\MapQueryString;