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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy