mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 01:12:21 +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]
|
#[NoReturn]
|
||||||
function dd(...$vars): void
|
function dd(...$vars): void
|
||||||
{
|
{
|
||||||
echo '<pre>';
|
echo is_cli() ? PHP_EOL : '<pre>';
|
||||||
var_dump($vars);
|
var_dump($vars);
|
||||||
echo '</pre>';
|
echo is_cli() ? PHP_EOL : '</pre>';
|
||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue