From cb5648082b9a4c728ff76df0d29ee96c91807707 Mon Sep 17 00:00:00 2001 From: Riedler Date: Tue, 17 Dec 2024 17:04:27 +0100 Subject: [PATCH] fixed: type in get_all_users function --- lbplanner/services/user/get_all_users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbplanner/services/user/get_all_users.php b/lbplanner/services/user/get_all_users.php index 5235f75..5df4bc2 100644 --- a/lbplanner/services/user/get_all_users.php +++ b/lbplanner/services/user/get_all_users.php @@ -53,7 +53,7 @@ public static function get_all_users_parameters(): external_function_parameters * @throws dml_exception * @throws invalid_parameter_exception */ - public static function get_all_users(string $vintage): array { + public static function get_all_users(?string $vintage): array { global $DB, $USER; self::validate_parameters(self::get_all_users_parameters(), ['vintage' => $vintage]);