Browse files

Default validation message translation fix.

Add 'validators' for $translationDomain. Detailed discussion https://github.com/fabpot/Silex/pull/641
  • Loading branch information...
1 parent 1289c0d commit ae63b06f85a42e03f66268f43af3e9e5b90b0244 @mmuruev mmuruev committed with fabpot Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Validator.php
View
2 Validator.php
@@ -52,7 +52,7 @@ public function __construct(
MetadataFactoryInterface $metadataFactory,
ConstraintValidatorFactoryInterface $validatorFactory,
TranslatorInterface $translator,
- $translationDomain = null,
+ $translationDomain = 'validators',
array $objectInitializers = array()
)
{

0 comments on commit ae63b06

Please sign in to comment.