Skip to content

Commit ccdeed2

Browse files
committed
Minor tweak
1 parent 8059ece commit ccdeed2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

controller.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,8 @@ HTTP status to return if the validation fails::
443443

444444
The default status code returned if the validation fails is 404.
445445

446-
If you want to map your object to a nested array in your query with a specific key,
447-
you can use the ``key`` option in your :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapQueryString`
448-
attribute::
446+
If you want to map your object to a nested array in your query using a specific key,
447+
set the ``key`` option in the ``#[MapQueryString]`` attribute::
449448

450449
use App\Model\SearchDto;
451450
use Symfony\Component\HttpFoundation\Response;

0 commit comments

Comments
 (0)