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 3030use Symfony \Component \Validator \Constraints \NotBlank ;
3131use Symfony \Component \Validator \Constraints \NotNull ;
3232use Symfony \Component \Validator \Constraints \Valid ;
33- use Symfony \Component \Validator \ConstraintValidatorInterface ;
3433use Symfony \Component \Validator \Context \ExecutionContext ;
3534use Symfony \Component \Validator \Test \ConstraintValidatorTestCase ;
3635use Symfony \Component \Validator \Validation ;
@@ -715,7 +714,7 @@ public function testCauseForNotAllowedExtraFieldsIsTheFormConstraint()
715714 $ this ->assertSame ($ constraint , $ context ->getViolations ()->get (0 )->getConstraint ());
716715 }
717716
718- protected function createValidator (): ConstraintValidatorInterface
717+ protected function createValidator (): FormValidator
719718 {
720719 return new FormValidator ();
721720 }
You can’t perform that action at this time.
0 commit comments