loading...

re: A simple tip for cleaner code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: What about: function foo($bar) { $value = ''; if ($bar > 0) { $value = "...
 

Please extract the middle part as a separate function and resubmit your pull request ;-p :-).

code of conduct - report abuse