Skip to content

[Serializer] Fix SerializedPath not working with constructor arguments #20333

[Serializer] Fix SerializedPath not working with constructor arguments

[Serializer] Fix SerializedPath not working with constructor arguments #20333

Triggered via pull request May 19, 2023 07:59
Status Failure
Total duration 2m 57s
Artifacts

psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.