Removed for better backwards PHP compatibility

This commit is contained in:
FusionPBX 2024-10-02 11:37:10 -06:00 committed by GitHub
parent 33035d7af2
commit b1c24b3843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}