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 8cb0767 commit a1a09eaCopy full SHA for a1a09ea
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