package and depencies
This commit is contained in:
@@ -15,7 +15,7 @@ if (!function_exists('dump')) {
|
||||
/**
|
||||
* @author Nicolas Grekas <p@tchwork.com>
|
||||
*/
|
||||
function dump($var, ...$moreVars)
|
||||
function dump(mixed $var, mixed ...$moreVars): mixed
|
||||
{
|
||||
VarDumper::dump($var);
|
||||
|
||||
@@ -35,7 +35,7 @@ if (!function_exists('dd')) {
|
||||
/**
|
||||
* @return never
|
||||
*/
|
||||
function dd(...$vars)
|
||||
function dd(...$vars): void
|
||||
{
|
||||
if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) {
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
|
Reference in New Issue
Block a user