Skip to content

Commit

Permalink
Update ConstraintViolationListNormalizer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h authored Feb 13, 2024
1 parent ff6ba1c commit c508afd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(private readonly SymfonyConstraintViolationListNorma
/**
* {@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 ConstraintViolationListInterface;
}
Expand Down

0 comments on commit c508afd

Please sign in to comment.