Skip to content

Commit 7778424

Browse files
committed
minor #10931 Change gender to eye color (Mx-Glitter)
This PR was merged into the 3.4 branch. Discussion ---------- Change gender to eye color Fixes symfony/symfony#29737 in documentation <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- f63ee2f Change gender to eye-color
2 parents 6f04086 + f63ee2f commit 7778424

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' => '[email protected]',
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)