Skip to content

Commit c33a3db

Browse files
committed
minor #7903 Update resources.rst (carwynmoore)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7903). Discussion ---------- Update resources.rst Typo fix Commits ------- 2c4e25d Update resources.rst
2 parents e8816b2 + 2c4e25d commit c33a3db

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)