8000 Update types for dd() · symfony/symfony@f7e4693 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7e4693

Browse files
committed
Update types for dd()
1 parent c7f82de commit f7e4693

File tree

1 file changed

+1
-4
lines changed
  • src/Symfony/Component/VarDumper/Resources/functions

1 file changed

+1
-4
lines changed

src/Symfony/Component/VarDumper/Resources/functions/dump.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ function dump(mixed $var, mixed ...$moreVars): mixed
3232
}
3333

3434
if (!function_exists('dd')) {
35-
/**
36-
* @return never
37-
*/
38-
function dd(...$vars): void
35+
function dd(mixed ...$vars): never
3936
{
4037
if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) {
4138
header('HTTP/1.1 500 Internal Server Error');

0 commit comments

Comments
 (0)
0