Skip to content

Commit

Permalink
Update DictionaryEnumNormalizer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h authored Feb 13, 2024
1 parent ad5d051 commit ff6ba1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serializer/Normalizer/DictionaryEnumNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ff6ba1c

Please sign in to comment.