From ed933af3c30e168c2ec88d6fc7f3242a31219d70 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 24 Jun 2021 21:57:51 +0200 Subject: Return NULL instead of config string if unset --- core/namespace/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/namespace/Application.php b/core/namespace/Application.php index 829f758..0d6d30e 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -25,7 +25,7 @@ class Application { # Get configuration value #=============================================================================== public static function get($config) { - return self::$configuration[$config] ?? "{$config}"; + return self::$configuration[$config] ?? NULL; } #=============================================================================== -- cgit v1.2.3