Remove syntax that breaks older PHP

Removed :static to support PHP 7.4
This commit is contained in:
FusionPBX 2025-03-12 23:39:24 -06:00 committed by GitHub
parent bed7c8827f
commit 6c6814b29e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3279,7 +3279,7 @@
* @see database::__construct()
* @see database::connect()
*/
public static function new(array $params = []): static {
public static function new(array $params = []) {
if (self::$database === null) {
self::$database = new database($params);
if (!self::$database->is_connected()) {