Skip to content

Commit a423947

Browse files
authored
[Validator] Change the example to be consistent with the rest
Other examples do not use key 'value'.
1 parent 8ebccad commit a423947

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)