[Serializer] Fix SerializedPath
not working with constructor arguments
#20333
Annotations
2 errors
InvalidReturnStatement:
src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php#L268
src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:268:20: InvalidReturnStatement: The inferred type 'array<array-key, Symfony\Component\Serializer\Mapping\AttributeMetadataInterface|string>|true' does not match the declared return type 'array<array-key, string>' for Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer::getAttributes (see https://psalm.dev/128)
|
Psalm
Process completed with exit code 2.
|