We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f04086 commit f63ee2fCopy full SHA for f63ee2f
validation/raw_values.rst
@@ -58,7 +58,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
58
],
59
'email' => 'test@email.tld',
60
'simple' => 'hello',
61
- 'gender' => 3,
+ 'eye_color' => 3,
62
'file' => null,
63
'password' => 'test',
64
'tags' => [
@@ -79,7 +79,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
79
]),
80
'email' => new Assert\Email(),
81
'simple' => new Assert\Length(['min' => 102]),
82
- 'gender' => new Assert\Choice([3, 4]),
+ 'eye_color' => new Assert\Choice([3, 4]),
83
'file' => new Assert\File(),
84
'password' => new Assert\Length(['min' => 60]),
85
'tags' => new Assert\Optional([
0 commit comments