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 1acb6e0 commit 995f5e3Copy full SHA for 995f5e3
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