diff --git a/Serializer/Normalizer/DictionaryEnumNormalizer.php b/Serializer/Normalizer/DictionaryEnumNormalizer.php index ac0c6a1..0315d02 100644 --- a/Serializer/Normalizer/DictionaryEnumNormalizer.php +++ b/Serializer/Normalizer/DictionaryEnumNormalizer.php @@ -29,7 +29,7 @@ class DictionaryEnumNormalizer implements NormalizerInterface * * @return bool */ - public function supportsNormalization(mixed $data, string $format = null): bool + public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { return $data instanceof DictionaryEnumInterface; }