Skip to content

Commit 4076ec8

Browse files
Update controller.rst
1 parent d6b1cae commit 4076ec8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

controller.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,7 @@ if you want to map a nested array of specific DTOs::
542542
.. tip::
543543

544544
If using typed properties with `MapRequestPayload`, it's recommanded to use built-in types (like `int`, `bool`, `string`...) for mapping. Using custom types can expose your application implementation outside with errors during denormalization.
545-
546-
Validating an Enum in your `#[MapRequestPayload]` class should look like this :
545+
Validating an Enum in your `#[MapRequestPayload]` class should look like this:
547546

548547
.. code-block:: php
549548
@@ -573,7 +572,6 @@ if you want to map a nested array of specific DTOs::
573572
}
574573
}
575574
576-
577575
Managing the Session
578576
--------------------
579577

0 commit comments

Comments
 (0)