Skip to content

Commit

Permalink
Add <pre> container to the dd function output
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Dec 6, 2023
1 parent 08908e5 commit c6f231e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/helpers/debug_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#[NoReturn]
function dd(...$vars): void
{
echo '<pre>';
var_dump($vars);
echo '</pre>';

exit(1);
}
Expand Down

0 comments on commit c6f231e

Please sign in to comment.