From aacc41ade213f52001d53b8558cf5abf5315c626 Mon Sep 17 00:00:00 2001 From: frytimo Date: Mon, 17 Nov 2025 09:12:22 -0400 Subject: [PATCH] Fix PHP error implicit null casting (#7624) --- resources/classes/groups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/classes/groups.php b/resources/classes/groups.php index 02e6c57697..e1e0bec385 100644 --- a/resources/classes/groups.php +++ b/resources/classes/groups.php @@ -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();