Skip to content

Commit 12a52d2

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: added missing translations for portuguese [#43726] [HttpClient][Mime] Add correct IDN flags for IDNA2008 compliance properly parse quoted strings tagged with !!str do not merge label classes into expanded choice labels [Serializer] PropertyNormalizer - return unique (i.e. filter duplicate ) attributes in extractAttributes function
2 parents 3fd70a2 + b5704a9 commit 12a52d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/PropertyNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function extractAttributes(object $object, string $format = null, arra
119119
}
120120
} while ($reflectionObject = $reflectionObject->getParentClass());
121121

122-
return $attributes;
122+
return array_unique($attributes);
123123
}
124124

125125
/**

0 commit comments

Comments
 (0)