Skip to content

Commit eeaf4cc

Browse files
authored
Make public property requirement clearer for constraint options
1 parent a8ecd69 commit eeaf4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/custom_constraint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ You can use custom validators like the ones provided by Symfony itself:
266266
}
267267
}
268268
269-
If your constraint contains options, then they should be public properties
269+
If your constraint contains options, then they must be public properties
270270
on the custom Constraint class you created earlier. These options can be
271271
configured like options on core Symfony constraints.
272272

0 commit comments

Comments
 (0)