8000 Change gender to eye-color · symfony/symfony-docs@f63ee2f · GitHub
[go: up one dir, main page]

Skip to content

Commit f63ee2f

Browse files
authored
Change gender to eye-color
1 parent 6f04086 commit f63ee2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation/raw_values.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
5858
],
5959
'email' => 'test@email.tld',
6060
'simple' => 'hello',
61-
'gender' => 3,
61+
'eye_color' => 3,
6262
'file' => null,
6363
'password' => 'test',
6464
'tags' => [
@@ -79,7 +79,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
7979
]),
8080
'email' => new Assert\Email(),
8181
'simple' => new Assert\Length(['min' => 102]),
82-
'gender' => new Assert\Choice([3, 4]),
82+
'eye_color' => new Assert\Choice([3, 4]),
8383
'file' => new Assert\File(),
8484
'password' => new Assert\Length(['min' => 60]),
8585
'tags' => new Assert\Optional([

0 commit comments

Comments
 (0)
0