lint/phpdoc/no-empty-return
In the coding-style set. Safe fix.
What it does
@return void and @return null annotations must be removed from PHPDoc.
Configuration
[lint.rules]
"phpdoc/no-empty-return" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
phpdoc_no_empty_return(php-cs-fixer)