Skip to content

Commit 2c4e25d

Browse files
carwynmoorexabbuh
authored andcommitted
Update resources.rst
1 parent e8816b2 commit 2c4e25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/validator/resources.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In this example, the validation metadata is retrieved executing the
4545
public static function loadValidatorMetadata(ClassMetadata $metadata)
4646
{
4747
$metadata->addPropertyConstraint('name', new Assert\NotBlank());
48-
$metadata->addPropertyConstraint('name', new Asert\Length(array(
48+
$metadata->addPropertyConstraint('name', new Assert\Length(array(
4949
'min' => 5,
5050
'max' => 20,
5151
)));

0 commit comments

Comments
 (0)