Skip to content

Commit 8ce93a0

Browse files
committed
Removed deprecated interface from SkippableItemNormalizer
1 parent 028307b commit 8ce93a0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Serializer/APIPlatform/SkippableItemNormalizer.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Platform subsystem should not be used.
3838
*/
3939
#[AsDecorator("api_platform.serializer.normalizer.item")]
40-
class SkippableItemNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface, CacheableSupportsMethodInterface
40+
class SkippableItemNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
4141
{
4242

4343
public const DISABLE_ITEM_NORMALIZER = 'DISABLE_ITEM_NORMALIZER';
@@ -47,11 +47,6 @@ public function __construct(private readonly ItemNormalizer $inner)
4747

4848
}
4949

50-
public function hasCacheableSupportsMethod(): bool
51-
{
52-
return $this->inner->hasCacheableSupportsMethod();
53-
}
54-
5550
public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
5651
{
5752
return $this->inner->denormalize($data, $type, $format, $context);

0 commit comments

Comments
 (0)