@@ -732,7 +732,7 @@ |
||
732 | 732 | } |
733 | 733 | |
734 | 734 | /** |
735 | - * @param null $course_code |
|
735 | + * @param string $course_code |
|
736 | 736 | * @param int $gradebook_model_id |
737 | 737 | * @return mixed |
738 | 738 | */ |
@@ -2269,7 +2269,7 @@ discard block |
||
2269 | 2269 | |
2270 | 2270 | /** |
2271 | 2271 | * Creates a file called mysql_dump.sql in the course folder |
2272 | - * @param $course_code The code of the course |
|
2272 | + * @param string $course_code The code of the course |
|
2273 | 2273 | * @todo Implementation for single database |
2274 | 2274 | */ |
2275 | 2275 | public static function create_database_dump($course_code) |
@@ -3620,6 +3620,7 @@ discard block |
||
3620 | 3620 | * class userportal-course-item. |
3621 | 3621 | * @param int User category id |
3622 | 3622 | * @param bool Whether to show the document quick-loader or not |
3623 | + * @param integer $user_category_id |
|
3623 | 3624 | * @return string |
3624 | 3625 | */ |
3625 | 3626 | public static function returnCoursesWithoutCategories($user_category_id, $load_dirs = false) |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * |
96 | 96 | * @param array $values Array of title + description (name => $title, description => $comment) |
97 | 97 | * |
98 | - * @return mixed Term id on success, false on failure |
|
98 | + * @return false|string Term id on success, false on failure |
|
99 | 99 | * |
100 | 100 | */ |
101 | 101 | public static function save_glossary($values, $showMessage = true) |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | |
449 | 449 | /** |
450 | 450 | * Display the glossary terms in a list |
451 | - * @return bool true |
|
451 | + * @return string true |
|
452 | 452 | */ |
453 | 453 | public static function displayGlossaryList() |
454 | 454 | { |
@@ -585,7 +585,7 @@ discard block |
||
585 | 585 | * Update action icons column |
586 | 586 | * |
587 | 587 | * @param integer $glossary_id |
588 | - * @param array $url_params Parameters to use to affect links |
|
588 | + * @param string $url_params Parameters to use to affect links |
|
589 | 589 | * @param array $row The line of results from a query on the glossary table |
590 | 590 | * |
591 | 591 | * @return string HTML string for the action icons columns |