mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Added to documentation that psalm-api
can be used on methods
This commit is contained in:
parent
b381f47a0a
commit
a4895c3588
@ -644,7 +644,7 @@ This annotation supports only generic types, meaning that e.g. `@psalm-yield str
|
||||
|
||||
### `@psalm-api`
|
||||
|
||||
Used to tell Psalm that a class is used, even if no references to it can be
|
||||
Used to tell Psalm that a class or method is used, even if no references to it can be
|
||||
found. Unused issues will be suppressed.
|
||||
|
||||
For example, in frameworks, controllers are often invoked "magically" without
|
||||
|
Loading…
x
Reference in New Issue
Block a user