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

Commit7778424

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 colorFixessymfony/symfony#29737 in documentation<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->Commits-------f63ee2f Change gender to eye-color
2 parents6f04086 +f63ee2f commit7778424

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)

[8]ページ先頭

©2009-2025 Movatter.jp