From 7f342c477a2026392828c7978ef5bd1e8f0263c7 Mon Sep 17 00:00:00 2001 From: Stuart Lamour Date: Sat, 26 Oct 2024 11:54:13 +0100 Subject: [PATCH] Remove space --- classes/assess_type.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/classes/assess_type.php b/classes/assess_type.php index 7ab919a..2b8e0a7 100644 --- a/classes/assess_type.php +++ b/classes/assess_type.php @@ -36,13 +36,11 @@ class assess_type { const ASSESS_TYPE_DUMMY = 2; - /** + /** * Return array of assessment types which can be summative. * - * @param array ['quiz', 'assign' , 'foo'] */ public static function allowed_activities(): array { - // Activites which can be marked summative. $modarray = [ 'assign', 'lesson', @@ -136,7 +134,7 @@ public static function is_locked(int $cmid): bool { * * @throws \dml_exception */ - public static function update_type(int $courseid, int $type, int $cmid = 0, int $gradeitemid = 0, int $locked = 0): void { + public static function update_type(int $courseid, int $type, int $cmid = 0, int $gradeitemid = 0, int $locked = 0): void { global $DB; $table = 'local_assess_type';