Default validation message translation fix.
Add 'validators' for $translationDomain. Detailed discussion https://github.com/fabpot/Silex/pull/641
This commit is contained in:
parent
49984b6fba
commit
709518bafd
@ -52,7 +52,7 @@ class Validator implements ValidatorInterface
|
||||
MetadataFactoryInterface $metadataFactory,
|
||||
ConstraintValidatorFactoryInterface $validatorFactory,
|
||||
TranslatorInterface $translator,
|
||||
$translationDomain = null,
|
||||
$translationDomain = 'validators',
|
||||
array $objectInitializers = array()
|
||||
)
|
||||
{
|
||||
|
Reference in New Issue
Block a user