4.2.20. Remove Parenthesis¶
Remove useless parenthesis from return expression.
4.2.20.1. Before¶
<?php
function foo() {
return (1);
}
?>
4.2.20.2. After¶
<?php
function foo() {
return 1;
}
?>
4.2.20.3. Suggested Analysis¶
4.2.20.4. Specs¶
Short Name |
Structures/RemoveParenthesis |
Exakat version |
2.3.0 |
Available in |