8000 chore(VarDumper): declare that dd() never returns · JohJohan/symfony@3d9699d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d9699d

Browse files
authored
chore(VarDumper): declare that dd() never returns
1 parent ab7f816 commit 3d9699d

File tree

1 file changed

+3
-0
lines changed
  • src/Symfony/Component/VarDumper/Resources/functions

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ function dump($var, ...$moreVars)
3232
}
3333

3434
if (!function_exists('dd')) {
35+
/**
36+
* @return never
37+
*/
3538
function dd(...$vars)
3639
{
3740
foreach ($vars as $v) {

0 commit comments

Comments
 (0)
0