File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Tests/Extension/Validator/Constraints Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 30
30
use Symfony \Component \Validator \Constraints \NotBlank ;
31
31
use Symfony \Component \Validator \Constraints \NotNull ;
32
32
use Symfony \Component \Validator \Constraints \Valid ;
33
- use Symfony \Component \Validator \ConstraintValidatorInterface ;
34
33
use Symfony \Component \Validator \Context \ExecutionContext ;
35
34
use Symfony \Component \Validator \Test \ConstraintValidatorTestCase ;
36
35
use Symfony \Component \Validator \Validation ;
@@ -715,7 +714,7 @@ public function testCauseForNotAllowedExtraFieldsIsTheFormConstraint()
715
714
$ this ->assertSame ($ constraint , $ context ->getViolations ()->get (0 )->getConstraint ());
716
715
}
717
716
718
- protected function createValidator (): ConstraintValidatorInterface
717
+ protected function createValidator (): FormValidator
719
718
{
720
719
return new FormValidator ();
721
720
}
You can’t perform that action at this time.
0 commit comments