Skip to content

Commit 89cd56b

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Validator] Remove comment to GitHub issue
1 parent 2ba67b6 commit 89cd56b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Constraints/CollectionValidator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public function validate(mixed $value, Constraint $constraint)
5050
$context = $this->context;
5151

5252
foreach ($constraint->fields as $field => $fieldConstraint) {
53-
// bug fix issue #2779
5453
$existsInArray = \is_array($value) && \array_key_exists($field, $value);
5554
$existsInArrayAccess = $value instanceof \ArrayAccess && $value->offsetExists($field);
5655

0 commit comments

Comments
 (0)