Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a61583

Browse files
committed
minor#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#6964).Discussion----------Fix typo in validator exampleCommits-------a2bf25b fix typo
2 parentsfb8fd65 +a2bf25b commit5a61583

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
@@ -42,7 +42,7 @@ In this example, the validation metadata is retrieved executing the
4242
{
4343
protected $name;
4444

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp