mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix PHP error implicit null casting (#7624)
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
/**
|
/**
|
||||||
* called when the object is created
|
* called when the object is created
|
||||||
*/
|
*/
|
||||||
public function __construct(database $database = null, $domain_uuid = null, $user_uuid = null) {
|
public function __construct(?database $database = null, $domain_uuid = null, $user_uuid = null) {
|
||||||
|
|
||||||
//handle the database object
|
//handle the database object
|
||||||
$this->database = $database ?? database::new();
|
$this->database = $database ?? database::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user