Skip to content

How to override a falsy @method with a Psalm plugin? #9919

Answered by orklah
nikophil asked this question in Q&A
Discussion options

You must be logged in to vote

If you're trying to acces @method, I think they're in here instead:

public $pseudo_methods = [];

I think emptying that entire property should be enough to make Psalm be unaware of any @method on this class

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@orklah
Comment options

orklah Jun 29, 2023
Collaborator

Answer selected by nikophil
@nikophil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants