Skip to content

Commit 902d750

Browse files
authored
Update controller.rst
1 parent 9dfe9ed commit 902d750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ To do so, map the parameter as an array and configure the type of each element
578578
using the ``type`` option of the attribute::
579579

580580
public function dashboard(
581-
#[MapRequestPayload(type: UserDTO::class)] array $users
581+
#[MapRequestPayload(type: UserDto::class)] array $users
582582
): Response
583583
{
584584
// ...

0 commit comments

Comments
 (0)