From 31892ac612a75872ae7180e192579f4256a14650 Mon Sep 17 00:00:00 2001 From: Benoit Condaminet Date: Fri, 24 May 2024 15:22:11 +0200 Subject: [PATCH] Fix VatNumberValidatorTest --- tests/Validator/Constraints/VatNumberValidatorTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }