Fix PHP error implicit null casting (#7624)

This commit is contained in:
frytimo
2025-11-17 09:12:22 -04:00
committed by GitHub
parent c2a2d1c1f9
commit aacc41ade2

View File

@@ -58,7 +58,7 @@
/**
* 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
$this->database = $database ?? database::new();