Symfony\Component\Serializer\Mapping\AttributeMetadataInterface
should really be internal?
#60743
Unanswered
LastDragon-ru
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure this is related to symfony or phpstan, but
Symfony\Component\Serializer\AbstractNormalizer::getAllowedAttributes()
returnsstring[]|AttributeMetadataInterface[]|bool
. So when I extending theAbstractNormalizer
phpstan complainssymfony/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php
Lines 205 to 214 in cd87bde
/cc @ondrejmirtes
Beta Was this translation helpful? Give feedback.
All reactions