Skip to content

Commit 47b2b7f

Browse files
committed
minor symfony#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 rest Other examples do not use key 'value'. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `5.x` for features of unreleased versions). --> Commits ------- a423947 [Validator] Change the example to be consistent with the rest
2 parents a24174d + a423947 commit 47b2b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/AtLeastOneOf.rst

+1-1
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)