Removed deprecated interface from SkippableItemNormalizer

This commit is contained in:
Jan Böhmer 2024-06-19 23:58:15 +02:00
parent 028307b63c
commit 8ce93a028a

View file

@ -37,7 +37,7 @@ use Symfony\Component\Serializer\SerializerInterface;
* Platform subsystem should not be used. * Platform subsystem should not be used.
*/ */
#[AsDecorator("api_platform.serializer.normalizer.item")] #[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'; 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 public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
{ {
return $this->inner->denormalize($data, $type, $format, $context); return $this->inner->denormalize($data, $type, $format, $context);