Skip to content

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
derrabus committed Nov 20, 2021
2 parents 3fd70a2 + b5704a9 commit 12a52d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Normalizer/PropertyNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function extractAttributes(object $object, string $format = null, arra
}
} while ($reflectionObject = $reflectionObject->getParentClass());

return $attributes;
return array_unique($attributes);
}

/**
Expand Down

0 comments on commit 12a52d2

Please sign in to comment.