Skip to content

Commit 4c0f1f5

Browse files
committed
sync message serializer code for forward-compatibility
1 parent f8c32e9 commit 4c0f1f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Normalizer/MimeMessageNormalizer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function normalize($object, string $format = null, array $context = [])
6666
if ($object instanceof AbstractPart) {
6767
$ret = $this->normalizer->normalize($object, $format, $context);
6868
$ret['class'] = \get_class($object);
69+
unset($ret['seekable'], $ret['cid'], $ret['handle']);
6970

7071
return $ret;
7172
}

0 commit comments

Comments
 (0)