diff --git a/components/validator/resources.rst b/components/validator/resources.rst index da0698b9184..37581c0c2ed 100644 --- a/components/validator/resources.rst +++ b/components/validator/resources.rst @@ -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(