@api tag on phpDoc

When I have the following class method declared with the @api tag, PHPStorm warns this method is an unused element. I was hoping that declaring a method with @api would let PHPStorm know that method is called from an external code and therefore shouldn't be marked an unused.
Any suggestions on how to remove warnings for such methods?

 

/**
* @api
*/
function get_partial_form() {
0
2 comments

Unfortunately, PhpStorm does not support "@api" tag yet, please vote:

https://youtrack.jetbrains.com/issue/WI-46165

1

Please sign in to leave a comment.