We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67deef2 commit c15a5d1Copy full SHA for c15a5d1
components/validator/metadata.rst
@@ -58,7 +58,7 @@ Then, add the Validator component configuration to the class::
58
{
59
public static function loadValidatorMetadata(ClassMetadata $metadata)
60
61
- $metadata->addGetterConstraint('passwordSafe', new Assert\True(array(
+ $metadata->addGetterConstraint('passwordSafe', new Assert\IsTrue(array(
62
'message' => 'The password cannot match your first name',
63
)));
64
}
0 commit comments