mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
CLI support
This commit is contained in:
parent
5b87d75c10
commit
eedcb3b8d9
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ if (!function_exists('dd')) {
|
|||
#[NoReturn]
|
||||
function dd(...$vars): void
|
||||
{
|
||||
echo '<pre>';
|
||||
echo is_cli() ? PHP_EOL : '<pre>';
|
||||
var_dump($vars);
|
||||
echo '</pre>';
|
||||
echo is_cli() ? PHP_EOL : '</pre>';
|
||||
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue