From 0ecdd0672010849b622f614e2445798c1169d242 Mon Sep 17 00:00:00 2001 From: William Arin Date: Wed, 11 Oct 2023 22:52:46 +0800 Subject: [PATCH] chore: remove symfony 6.3 deprecation warning --- src/Serializer/SerializedArrayDenormalizer.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Serializer/SerializedArrayDenormalizer.php b/src/Serializer/SerializedArrayDenormalizer.php index c8526da..0648f5f 100644 --- a/src/Serializer/SerializedArrayDenormalizer.php +++ b/src/Serializer/SerializedArrayDenormalizer.php @@ -41,4 +41,12 @@ public function denormalize( return $data; } + + public function getSupportedTypes(?string $format): array + { + return [ + AttachmentMetadata::class => true, + GenericData::class => true, + ]; + } }