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 2ba67b6 commit 89cd56bCopy full SHA for 89cd56b
Constraints/CollectionValidator.php
@@ -50,7 +50,6 @@ public function validate(mixed $value, Constraint $constraint)
50
$context = $this->context;
51
52
foreach ($constraint->fields as $field => $fieldConstraint) {
53
- // bug fix issue #2779
54
$existsInArray = \is_array($value) && \array_key_exists($field, $value);
55
$existsInArrayAccess = $value instanceof \ArrayAccess && $value->offsetExists($field);
56
0 commit comments