summaryrefslogtreecommitdiff
path: root/src/DTS/Functions.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-10-07 21:31:17 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-10-07 21:31:17 +0100
commit0f273c0a8ead390346571c4be2296fa6e384eff6 (patch)
tree292fc180a277a5324df73c5c8b02c8c673e812a3 /src/DTS/Functions.php
parent34ba17ceeecd3ac6be9e31be45ee76757da2dec0 (diff)
Add bookmarks
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);