From de4059862415b01ab3ae9e6e32960ab4abe440e6 Mon Sep 17 00:00:00 2001 From: Sven Luijten Date: Tue, 13 Sep 2016 16:15:05 +0200 Subject: [PATCH] fix typo --- components/validator/resources.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(