Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a9b7e4

Browse files
committed
[symfony#2885] Fixing 2 more bad namespace uses
1 parent 303daff commit 5a9b7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/validation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,9 @@ entity and a new constraint group called ``Premium``:
10621062
}
10631063
10641064
Now, change the ``User`` class to implement
1065-
:class:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface` and
1065+
:class:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface` and
10661066
add the
1067-
:method:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface::getGroupSequence`,
1067+
:method:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface::getGroupSequence`,
10681068
which should return an array of groups to use. Also, add the
10691069
``@Assert\GroupSequenceProvider`` annotation to the class. If you imagine
10701070
that a method called ``isPremium`` returns true if the user is a premium member,

0 commit comments

Comments
 (0)