diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-24 21:57:51 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-24 21:57:51 +0200 |
commit | ed933af3c30e168c2ec88d6fc7f3242a31219d70 (patch) | |
tree | b754f694d7d950feaa1f469c722b12dd8cf75c66 /core/namespace/Application.php | |
parent | d69d7e82b8bbb567668c935ace848c7dcf750b08 (diff) | |
download | blog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.tar.gz blog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.tar.xz blog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.zip |
Return NULL instead of config string if unset
Diffstat (limited to 'core/namespace/Application.php')
-rw-r--r-- | core/namespace/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } #=============================================================================== |