diff --git a/src/Serializer/EntitySerializer.php b/src/Serializer/EntitySerializer.php index 8c0cca60..cfe116b0 100755 --- a/src/Serializer/EntitySerializer.php +++ b/src/Serializer/EntitySerializer.php @@ -34,8 +34,6 @@ use TypeError; /** - * @psalm-suppress LessSpecificImplementedReturnType - * * Serializes, normalizes and denormalizes entities. */ class EntitySerializer implements EntitySerializerInterface @@ -223,6 +221,8 @@ public function supportsEncoding($format): bool } /** + * @psalm-suppress LessSpecificImplementedReturnType + * * {@inheritdoc} */ public function getSupportedTypes(?string $format): array