Replace concrete ConstraintValidatorFactory type hint with interface
Merge pull request #2278 from EmmanuelVella/validator

Replace concrete ConstraintValidatorFactory type hint by interface