diff --git a/src/Serializer/APIPlatform/SkippableItemNormalizer.php b/src/Serializer/APIPlatform/SkippableItemNormalizer.php index 20dc4c01..5568c4cb 100644 --- a/src/Serializer/APIPlatform/SkippableItemNormalizer.php +++ b/src/Serializer/APIPlatform/SkippableItemNormalizer.php @@ -37,7 +37,7 @@ use Symfony\Component\Serializer\SerializerInterface; * Platform subsystem should not be used. */ #[AsDecorator("api_platform.serializer.normalizer.item")] -class SkippableItemNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface, CacheableSupportsMethodInterface +class SkippableItemNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface { public const DISABLE_ITEM_NORMALIZER = 'DISABLE_ITEM_NORMALIZER'; @@ -47,11 +47,6 @@ class SkippableItemNormalizer implements NormalizerInterface, DenormalizerInterf } - public function hasCacheableSupportsMethod(): bool - { - return $this->inner->hasCacheableSupportsMethod(); - } - public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed { return $this->inner->denormalize($data, $type, $format, $context);