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 b13a23f commit 9ee6fc1Copy full SHA for 9ee6fc1
src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php
@@ -98,22 +98,11 @@ public function testValidChoiceCallbackFunction()
98
99
public function testValidChoiceCallbackClosure()
100
{
101
-<<<<<<< HEAD
102
- $constraint = new Choice(
103
- [
104
- 'callback' => function () {
105
- return ['foo', 'bar'];
106
- },
107
- ]
108
- );
109
-=======
110
$constraint = new Choice([
111
- 'strict' => true,
112
'callback' => function () {
113
return ['foo', 'bar'];
114
},
115
]);
116
->>>>>>> 3.4
117
118
$this->validator->validate('bar', $constraint);
119
0 commit comments