aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/namespace/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/namespace/Application.php b/core/namespace/Application.php
index b88fa2c..fa5e0a9 100644
--- a/core/namespace/Application.php
+++ b/core/namespace/Application.php
@@ -229,7 +229,7 @@ class Application {
#===============================================================================
# Exit application with a custom message and status code
#===============================================================================
- public static function exit($message = '', $code = 503): void {
+ public static function exit(?string $message = NULL, int $code = 503): void {
http_response_code($code);
exit($message);
}