File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ the following:
41
41
class Participant
42
42
{
43
43
/**
44
- * @Assert\Min(limit = "18", message = "You must be 18 or older to enter")
44
+ * @Assert\Min(limit = "18", message = "You must be 18 or older to enter. ")
45
45
*/
46
46
protected $age;
47
47
}
@@ -53,7 +53,7 @@ the following:
53
53
<property name =" age" >
54
54
<constraint name =" Min" >
55
55
<option name =" limit" >18</option >
56
- <option name =" message" >You must be 18 or older to enter</option >
56
+ <option name =" message" >You must be 18 or older to enter. </option >
57
57
</constraint >
58
58
</property >
59
59
</class >
@@ -72,7 +72,7 @@ the following:
72
72
{
73
73
$metadata->addPropertyConstraint('age', new Assert\Min(array(
74
74
'limit' => '18',
75
- 'message' => 'You must be 18 or older to enter',
75
+ 'message' => 'You must be 18 or older to enter. ',
76
76
));
77
77
}
78
78
}
You can’t perform that action at this time.
0 commit comments