summaryrefslogtreecommitdiff
path: root/src/DTS/Functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/DTS/Functions.php')
-rw-r--r--src/DTS/Functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DTS/Functions.php b/src/DTS/Functions.php
index b7f9cb3..d7ca835 100644
--- a/src/DTS/Functions.php
+++ b/src/DTS/Functions.php
@@ -4,7 +4,7 @@ declare(strict_types=1);
namespace DTS\Functions;
-function respondAndExit(int $responseCode, string $header, string $body, array $headers = []): void
+function respondAndExit(int $responseCode, string $header, string $body = '', array $headers = []): void
{
header($header, false, $responseCode);