diff --git a/tests/Validator/Constraints/VatNumberValidatorTest.php b/tests/Validator/Constraints/VatNumberValidatorTest.php index 410dacb..840b1bb 100644 --- a/tests/Validator/Constraints/VatNumberValidatorTest.php +++ b/tests/Validator/Constraints/VatNumberValidatorTest.php @@ -4,12 +4,13 @@ use Ibericode\Vat\Bundle\Validator\Constraints\VatNumber; use Ibericode\Vat\Bundle\Validator\Constraints\VatNumberValidator; +use Symfony\Component\Validator\ConstraintValidatorInterface; use Symfony\Component\Validator\Test\ConstraintValidatorTestCase; class VatNumberValidatorTest extends ConstraintValidatorTestCase { - protected function createValidator() + protected function createValidator(): ConstraintValidatorInterface { return new VatNumberValidator(); }