Skip to content

Commit

Permalink
Suppressing the LessSpecificImplementedReturnType error for getSuppor…
Browse files Browse the repository at this point in the history
…tedTypes function (#393)

* Suppressing the LessSpecificImplementedReturnType error

* Updated for specific function

* Changes for PHPCS
  • Loading branch information
kedarkhaire authored Nov 14, 2024
1 parent 24210f7 commit 5a0ebdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Serializer/EntitySerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ public function supportsEncoding($format): bool

/**
* {@inheritdoc}
*
* @psalm-suppress LessSpecificImplementedReturnType
*/
public function getSupportedTypes(?string $format): array
{
Expand Down

0 comments on commit 5a0ebdc

Please sign in to comment.