1
0
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:
Yannick Gottschalk 2023-03-20 12:17:17 +01:00 committed by ygottschalk
parent b381f47a0a
commit a4895c3588

View File

@ -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