Fixed code for symfony 7

This commit is contained in:
Jan Böhmer 2025-07-07 23:27:26 +02:00
parent 9eb825f89a
commit 7e6b931db4
6 changed files with 20 additions and 19 deletions

View file

@ -122,7 +122,7 @@ class StructuralElementDenormalizer implements DenormalizerInterface, Denormaliz
return $deserialized_entity;
}
public function getSupportedTypes(): array
public function getSupportedTypes(?string $format): array
{
//Must be false, because we use in_array in supportsDenormalization
return [