Skip to content

Commit 5a0ebdc

Browse files
authored
Suppressing the LessSpecificImplementedReturnType error for getSupportedTypes function (#393)
* Suppressing the LessSpecificImplementedReturnType error * Updated for specific function * Changes for PHPCS
1 parent 24210f7 commit 5a0ebdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Serializer/EntitySerializer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ public function supportsEncoding($format): bool
222222

223223
/**
224224
* {@inheritdoc}
225+
*
226+
* @psalm-suppress LessSpecificImplementedReturnType
225227
*/
226228
public function getSupportedTypes(?string $format): array
227229
{

0 commit comments

Comments
 (0)