mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Removed deprecated interface from SkippableItemNormalizer
This commit is contained in:
parent
028307b63c
commit
8ce93a028a
1 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue