Skip to content

Commit 35fb873

Browse files
Merge pull request #15 from benconda/fix-tests
Fix VatNumberValidatorTest
2 parents 89f1e35 + 31892ac commit 35fb873

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Validator/Constraints/VatNumberValidatorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
use Ibericode\Vat\Bundle\Validator\Constraints\VatNumber;
66
use Ibericode\Vat\Bundle\Validator\Constraints\VatNumberValidator;
7+
use Symfony\Component\Validator\ConstraintValidatorInterface;
78
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
89

910
class VatNumberValidatorTest extends ConstraintValidatorTestCase
1011
{
1112

12-
protected function createValidator()
13+
protected function createValidator(): ConstraintValidatorInterface
1314
{
1415
return new VatNumberValidator();
1516
}

0 commit comments

Comments
 (0)