Skip to content

Commit 5c22c52

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: Make public property requirement clearer for constraint options
2 parents 7db46c6 + 3a4cfd1 commit 5c22c52

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
@@ -259,7 +259,7 @@ You can use custom validators like the ones provided by Symfony itself:
259259
}
260260
}
261261
262-
If your constraint contains options, then they should be public properties
262+
If your constraint contains options, then they must be public properties
263263
on the custom Constraint class you created earlier. These options can be
264264
configured like options on core Symfony constraints.
265265

0 commit comments

Comments
 (0)