no_useless_return
There should not be an empty return statement at the end of a function.
return
--- Original +++ New @@ -3,5 +3,5 @@ if ($b) { return; } - return; + }
The rule is part of the following rule set:
Using the @PhpCsFixer rule set will enable the no_useless_return rule.