8000 [validator] Fix deprecation · symfony/symfony@bc5fea4 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc5fea4

Browse files
[validator] Fix deprecation
1 parent df735a2 commit bc5fea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Validator/Tests/Constraints/ExpressionLanguageSyntaxValidatorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
1515
use Symfony\Component\Validator\Constraints\ExpressionLanguageSyntax;
1616
use Symfony\Component\Validator\Constraints\ExpressionLanguageSyntaxValidator;
17+
use Symfony\Component\Validator\ConstraintValidatorInterface;
1718
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
1819

1920
/**
2021
* @group legacy
2122
*/
2223
class ExpressionLanguageSyntaxValidatorTest extends ConstraintValidatorTestCase
2324
{
24-
protected function createValidator(): ExpressionLanguageSyntaxValidator
25+
protected function createValidator(): ConstraintValidatorInterface
2526
{
2627
return new ExpressionLanguageSyntaxValidator(new ExpressionLanguage());
2728
}

0 commit comments

Comments
 (0)
0