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

Commit47b2b7f

Browse files
committed
minor#14877 [Validator] Change the example to be consistent with the rest (wkania)
This PR was merged into the 5.1 branch.Discussion----------[Validator] Change the example to be consistent with the restOther examples do not use key 'value'.<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `5.x` for features of unreleased versions).-->Commits-------a423947 [Validator] Change the example to be consistent with the rest
2 parentsa24174d +a423947 commit47b2b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reference/constraints/AtLeastOneOf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ The following constraints ensure that:
141141
new Assert\Count(['min' => 3]),
142142
new Assert\All([
143143
'constraints' => [
144-
new Assert\GreaterThanOrEqual(['value' => 5]),
144+
new Assert\GreaterThanOrEqual(5),
145145
],
146146
]),
147147
],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp