[VarDumper] Make dump() a little bit more easier to use

This commit is contained in:
Freek Van der Herten 2017-09-21 18:42:43 +02:00 committed by Nicolas Grekas
parent 0a9d46d8c9
commit 42f0984e71

View File

@ -20,5 +20,11 @@ if (!function_exists('dump')) {
foreach (func_get_args() as $var) {
VarDumper::dump($var);
}
if ($moreVars) {
return func_get_args();
}
return $var;
}
}