mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-20 23:42:14 +00:00
Remove syntax that breaks older PHP
Removed :static to support PHP 7.4
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user