@@ -1415,7 +1415,7 @@ discard block |
||
1415 | 1415 | |
1416 | 1416 | /** |
1417 | 1417 | * Get the emoji list to include in chat |
1418 | - * @return array |
|
1418 | + * @return string[] |
|
1419 | 1419 | */ |
1420 | 1420 | public static function getEmojisToInclude() |
1421 | 1421 | { |
@@ -1738,7 +1738,7 @@ discard block |
||
1738 | 1738 | |
1739 | 1739 | /** |
1740 | 1740 | * Get the number of users connected in chat |
1741 | - * @return mixed |
|
1741 | + * @return integer |
|
1742 | 1742 | */ |
1743 | 1743 | public function countUsersOnline() |
1744 | 1744 | { |
@@ -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) |