Replies: 1 comment
-
I think It should be possible to suppress this through the configuration. Something like: (untested) <PossiblyInvalidArgument>
<errorLevel type="suppress">
<referencedMethod name="Form::setInputFilter" />
</errorLevel>
</PossiblyInvalidArgument> Alternatively you might be able to do something with a stub file to override either the return type or the parameter type. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone. I'm using Laminas, and it seems there's a bit of an issue with returns and the container interface. It looks a little like this:
https://psalm.dev/r/b39c19e956
Would there be a way for me to suppress all PossiblyInvalidArgument for
->setInputFilter
on the Form parent class?With thanks!
Alex
Beta Was this translation helpful? Give feedback.
All reactions