Skip to content

Commit 3edd388

Browse files
committed
fix tests
1 parent edbd043 commit 3edd388

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Serializer/Normalizer/MimeMessageNormalizer.php

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ public function normalize(mixed $object, string $format = null, array $context =
6464
$ret['class'] = $object::class;
6565
unset($ret['seekable'], $ret['cid']);
6666

67+
if (\class_exists(BodyFile::class)) {
68+
unset($ret['seekable'], $ret['cid']);
69+
}
70+
6771
return $ret;
6872
}
6973

0 commit comments

Comments
 (0)