Skip to content

Commit 1a81ac0

Browse files
Ville Mattilaweaverryan
Ville Mattila
authored andcommitted
Fixed (check -> checkMX) in PHP example
1 parent 433ca2b commit 1a81ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Email.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Basic Usage
7979
{
8080
$metadata->addPropertyConstraint('email', new Assert\Email(array(
8181
'message' => 'The email "{{ value }}" is not a valid email.',
82-
'check' => true,
82+
'checkMX' => true,
8383
)));
8484
}
8585
}

0 commit comments

Comments
 (0)