From c2c3c0b6a7d6ae1b698b9c34439ab0d0db13e17f Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 30 Sep 2022 16:13:50 +0200 Subject: [PATCH] fix tests --- .../Component/Serializer/Normalizer/MimeMessageNormalizer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Serializer/Normalizer/MimeMessageNormalizer.php b/src/Symfony/Component/Serializer/Normalizer/MimeMessageNormalizer.php index 5f599ba655b6f..cd6f64bc4c37c 100644 --- a/src/Symfony/Component/Serializer/Normalizer/MimeMessageNormalizer.php +++ b/src/Symfony/Component/Serializer/Normalizer/MimeMessageNormalizer.php @@ -64,6 +64,10 @@ public function normalize(mixed $object, string $format = null, array $context = $ret['class'] = $object::class; unset($ret['seekable'], $ret['cid']); + if (class_exists(BodyFile::class)) { + unset($ret['seekable'], $ret['cid']); + } + return $ret; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy