We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c19cf commit e4a1774Copy full SHA for e4a1774
src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php
@@ -201,7 +201,7 @@ public function testInvalidChoiceCallbackContextMethod()
201
{
202
$this->expectException(ConstraintDefinitionException::class);
203
$this->expectExceptionMessage('The Choice constraint expects the callback to return an iterable value, got null.');
204
- // search $this for "staticCallbackIterable"
+ // search $this for "staticCallbackInvalid"
205
$this->setObject($this);
206
207
$constraint = new Choice(['callback' => 'staticCallbackInvalid']);
0 commit comments