From 2971d432f976ab3797216d337e620b3645fffc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 28 Jan 2015 08:11:20 +0100 Subject: [PATCH] [Serializer] minor: fix comment --- .../Serializer/Mapping/Factory/ClassMetadataFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php b/src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php index 13164dc351..c462dd8666 100644 --- a/src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php +++ b/src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php @@ -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)); }