Skip to content

Commit fcb2b79

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

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,9 +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-
Validating an Enum in your `#[MapRequestPayload]` class should look like this:
546-
547-
.. code-block:: php
545+
Validating an Enum in your `#[MapRequestPayload]` class should look like this::
548546

549547
class LuckyController
550548
{

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