Update helpers.php

Refactoring **dd()** function, **var_dump()** can be used with multiple parameters, foreach loop is not neccessary