Tag reference
@psalm-ignore-variable-method
The @psalm-ignore-variable-method tag suppresses “undefined method”
issues for methods called on the annotated variable, letting Psalm
skip verification of a magic or dynamically resolved call.
Grammar
"@psalm-ignore-variable-method" [ <Description> ]Examples
/** @psalm-ignore-variable-method */$proxy->anyMethod();Names by platform
- psalm
@psalm-ignore-variable-method
Parsing a @psalm-ignore-variable-method tag produces a PsalmIgnoreVariableMethodTag instance. Being a pure
marker, it adds nothing beyond the $name and optional $description
every Tag already carries.
final class PsalmIgnoreVariableMethodTag extends FlagTag {}