Skip to content

Commit 5a61583

Browse files
committed
minor symfony#6964 Fix typo in validator example (svenluijten)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes symfony#6964). Discussion ---------- Fix typo in validator example Commits ------- a2bf25b fix typo
2 parents fb8fd65 + a2bf25b commit 5a61583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/validator/resources.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In this example, the validation metadata is retrieved executing the
4242
{
4343
protected $name;
4444

45-
public static function loadValidatorMatadata(ClassMetadata $metadata)
45+
public static function loadValidatorMetadata(ClassMetadata $metadata)
4646
{
4747
$metadata->addPropertyConstraint('name', new Assert\NotBlank());
4848
$metadata->addPropertyConstraint('name', new Asert\Length(array(

0 commit comments

Comments
 (0)