Skip to content

Commit

Permalink
Removed deprecated interface from SkippableItemNormalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Jun 19, 2024
1 parent 028307b commit 8ce93a0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Serializer/APIPlatform/SkippableItemNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* 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';
Expand All @@ -47,11 +47,6 @@ public function __construct(private readonly ItemNormalizer $inner)

}

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);
Expand Down

0 comments on commit 8ce93a0

Please sign in to comment.