
void_return
¶Add void
return type to functions with missing or empty return statements,
but priority is given to @return
annotations. Requires PHP >= 7.1.
The rule is part of the following rule sets:
Using the @PHP71Migration:risky rule set will enable the void_return
rule.
Using the @PHP74Migration:risky rule set will enable the void_return
rule.
Using the @PHP80Migration:risky rule set will enable the void_return
rule.