Browse Source

Minor - Update PHPDoc

Yannick Warnier 7 years ago
parent
commit
433dffc068
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main/admin/course_list.php

+ 4 - 0
main/admin/course_list.php

@@ -17,6 +17,8 @@ $sessionId = isset($_GET['session_id']) ? $_GET['session_id'] : null;
 
 /**
  * Get the number of courses which will be displayed
+ * @return int The number of matching courses
+ * @throws Exception
  */
 function get_number_of_courses()
 {
@@ -80,6 +82,7 @@ function get_number_of_courses()
  * @param string $direction
  *
  * @return array
+ * @throws Exception
  */
 function get_course_data($from, $number_of_items, $column, $direction)
 {
@@ -205,6 +208,7 @@ function get_course_data($from, $number_of_items, $column, $direction)
  * @param int $column
  * @param string $direction
  * @return array
+ * @throws Exception
  */
 function get_course_data_by_session($from, $number_of_items, $column, $direction)
 {