[Serializer] minor: fix comment

This commit is contained in:
Kévin Dunglas 2015-01-28 08:11:20 +01:00
parent 28931800a0
commit 2971d432f9
1 changed files with 2 additions and 2 deletions

View File

@ -86,12 +86,12 @@ class ClassMetadataFactory
$reflClass = $metadata->getReflectionClass();
// Include constraints from the parent class
// Include groups from the parent class
if ($parent = $reflClass->getParentClass()) {
$metadata->mergeAttributesGroups($this->getMetadataFor($parent->name));
}
// Include constraints from all implemented interfaces
// Include groups from all implemented interfaces
foreach ($reflClass->getInterfaces() as $interface) {
$metadata->mergeAttributesGroups($this->getMetadataFor($interface->name));
}