Skip to content

Commit 3fd6211

Browse files
committed
Fixed interpunction, thanks to @ricardclau
1 parent 131a287 commit 3fd6211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/constraints/Min.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ the following:
4141
class Participant
4242
{
4343
/**
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.")
4545
*/
4646
protected $age;
4747
}
@@ -53,7 +53,7 @@ the following:
5353
<property name="age">
5454
<constraint name="Min">
5555
<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>
5757
</constraint>
5858
</property>
5959
</class>
@@ -72,7 +72,7 @@ the following:
7272
{
7373
$metadata->addPropertyConstraint('age', new Assert\Min(array(
7474
'limit' => '18',
75-
'message' => 'You must be 18 or older to enter',
75+
'message' => 'You must be 18 or older to enter.',
7676
));
7777
}
7878
}

0 commit comments

Comments
 (0)