diff --git a/classes/plugin.php b/classes/plugin.php index c347d97..56c251e 100644 --- a/classes/plugin.php +++ b/classes/plugin.php @@ -426,7 +426,7 @@ public function edit_instance_form($instance, \MoodleQuickForm $mform, $context) /** * Add new instance of enrol plugin. * @param object $course - * @param array $fields + * @param array|null $fields * @return int id of new instance, null if can not be created */ public function add_instance($course, ?array $fields = null): int {