Skip to content

Commit da82147

Browse files
minor symfony#60830 [Validator] Remove comment to GitHub issue (OskarStark)
This PR was submitted for the 7.4 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Validator] Remove comment to GitHub issue | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT We do not reference issue numbers in code. Can also be applied to 6.4 Commits ------- 928240e [Validator] Remove comment to GitHub issue
2 parents 92f7862 + 928240e commit da82147

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/Validator/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)