Skip to content

Commit

Permalink
[Serializer] Fix denormalizing abstract part headers in MimeMessageNo…
Browse files Browse the repository at this point in the history
…rmalizer
  • Loading branch information
fancyweb committed Jul 26, 2023
1 parent 0a88ada commit dc70d86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Normalizer/MimeMessageNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function denormalize($data, string $type, string $format = null, array $c
if (AbstractPart::class === $type) {
$type = $data['class'];
unset($data['class']);
$data['headers'] = $this->serializer->denormalize($data['headers'], Headers::class, $format, $context);
}

return $this->normalizer->denormalize($data, $type, $format, $context);
Expand Down

0 comments on commit dc70d86

Please sign in to comment.