"Update PHPDOC Comment" always adds "@internal param [...]" - is there a way to turn this behaviour off?

Hello,

If I've edited a variable name in a method and then select the "Update PHPDOC Comment" option in the context menu, PHPStorm always adds "@internal param [...]" to the docblock. Is there a way to turn this behaviour off?

Thanks.

0
1 comment

Hi therem

Yes and No.

No -- If you keep using your current workflow (edit variable name manually). https://youtrack.jetbrains.com/issue/WI-30226 (check comments there)

Yes -- instead use "Refactor | Rename" on a function parameter -- it will update variable name in all places: PHPDoc, function parameter, usage inside the function.

0

Please sign in to leave a comment.