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

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()) {