Skip to content

Commit 4784977

Browse files
committed
[Serializer] minor: fix comment
1 parent ce82f5b commit 4784977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mapping/Factory/ClassMetadataFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ public function getMetadataFor($value)
8686

8787
$reflClass = $metadata->getReflectionClass();
8888

89-
// Include constraints from the parent class
89+
// Include groups from the parent class
9090
if ($parent = $reflClass->getParentClass()) {
9191
$metadata->mergeAttributesGroups($this->getMetadataFor($parent->name));
9292
}
9393

94-
// Include constraints from all implemented interfaces
94+
// Include groups from all implemented interfaces
9595
foreach ($reflClass->getInterfaces() as $interface) {
9696
$metadata->mergeAttributesGroups($this->getMetadataFor($interface->name));
9797
}

0 commit comments

Comments
 (0)