Formatting Function Doc Comments Errors
So I am trying to edit the PHP Function Doc Comment and have created:
/**
* Description
*
* @since 1.0.0
*
* @return ${TYPE_HINT}
*/
However, when I insert the DocBlock it is not formatted properly:
/**
* Description
*
* @return void
* @since 1.0.0
*
*/
As you can see, the return is in the wrong place. Is there a fix for this?
请先登录再写评论。
Hi there,
Well .. check what you have there and adjust as needed your "Settings (Preferences on macOS) | Editor | Code Style | PHP | PHPDoc | PHPDoc tags order" section
Okay I see, that worked.