diff --git a/Normalizer/PropertyNormalizer.php b/Normalizer/PropertyNormalizer.php index 9989c60e4..8ecd34081 100644 --- a/Normalizer/PropertyNormalizer.php +++ b/Normalizer/PropertyNormalizer.php @@ -119,7 +119,7 @@ protected function extractAttributes($object, $format = null, array $context = [ } } while ($reflectionObject = $reflectionObject->getParentClass()); - return $attributes; + return array_unique($attributes); } /**