From b1c24b3843910fad1a99e86aec745a6bf3a2956d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 2 Oct 2024 11:37:10 -0600 Subject: [PATCH] Removed for better backwards PHP compatibility --- resources/classes/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/classes/config.php b/resources/classes/config.php index b7d90289ea..6a08987992 100644 --- a/resources/classes/config.php +++ b/resources/classes/config.php @@ -36,7 +36,7 @@ final class config { /** * Loads the framework configuration file */ - public function __construct(?string $file = '') { + public function __construct(string $file = '') { //initialize configuration array to be an empty array $this->configuration = []; @@ -305,7 +305,7 @@ final class config { * Ensures the configuration file is loaded only once * @return config */ - public static function load(?string $file = ''): config { + public static function load(string $file = ''): config { if (self::$config === null) { self::$config = new config($file); }