Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
svenluijten authored and xabbuh committed Sep 13, 2016
1 parent fb8fd65 commit a2bf25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/validator/resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In this example, the validation metadata is retrieved executing the
{
protected $name;

public static function loadValidatorMatadata(ClassMetadata $metadata)
public static function loadValidatorMetadata(ClassMetadata $metadata)
{
$metadata->addPropertyConstraint('name', new Assert\NotBlank());
$metadata->addPropertyConstraint('name', new Asert\Length(array(
Expand Down

0 comments on commit a2bf25b

Please sign in to comment.