Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc5fea4

Browse filesBrowse files
[validator] Fix deprecation
1 parent df735a2 commit bc5fea4
Copy full SHA for bc5fea4

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/ExpressionLanguageSyntaxValidatorTest.php
+2-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.