Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfcb2b79

Browse files
Update controller.rst
1 parent4076ec8 commitfcb2b79

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)

[8]ページ先頭

©2009-2025 Movatter.jp