Skip to content

Commit

Permalink
fixed: type in get_all_users function
Browse files Browse the repository at this point in the history
  • Loading branch information
RiedleroD committed Dec 17, 2024
1 parent 495b794 commit cb56480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbplanner/services/user/get_all_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit cb56480

Please sign in to comment.