Skip to content

Commit

Permalink
Update JsonSchemaErrorNormalizer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h authored Feb 13, 2024
1 parent d930529 commit ad5d051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serializer/Normalizer/JsonSchemaErrorNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class JsonSchemaErrorNormalizer implements NormalizerInterface
/**
* {@inheritdoc}
*/
public function supportsNormalization(mixed $data, string $format = null, array $context = []): bool
public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return $data instanceof JsonSchemaValidator;
}
Expand Down

0 comments on commit ad5d051

Please sign in to comment.