@@ -657,6 +657,7 @@ discard block |
||
657 | 657 | * retrieves all the courses that the user has already subscribed to |
658 | 658 | * @author Patrick Cool <[email protected]>, Ghent University, Belgium |
659 | 659 | * @param int $user_id: the id of the user |
660 | + * @param integer $user_id |
|
660 | 661 | * @return array an array containing all the information of the courses of the given user |
661 | 662 | */ |
662 | 663 | public function get_courses_of_user($user_id) |
@@ -707,13 +708,13 @@ discard block |
||
707 | 708 | |
708 | 709 | /** |
709 | 710 | * @todo use the template system |
710 | - * @param $title |
|
711 | - * @param $content |
|
711 | + * @param string|null $title |
|
712 | + * @param string $content |
|
712 | 713 | * @param string $id |
713 | 714 | * @param array $params |
714 | 715 | * @param string $idAccordion |
715 | 716 | * @param string $idCollapse |
716 | - * @return null|string |
|
717 | + * @return string |
|
717 | 718 | */ |
718 | 719 | public function show_right_block( |
719 | 720 | $title, |
@@ -937,7 +938,7 @@ discard block |
||
937 | 938 | } |
938 | 939 | |
939 | 940 | /** |
940 | - * @return null|string |
|
941 | + * @return string |
|
941 | 942 | */ |
942 | 943 | public function return_course_block() |
943 | 944 | { |
@@ -1590,8 +1591,8 @@ discard block |
||
1590 | 1591 | |
1591 | 1592 | /** |
1592 | 1593 | * Return HTML code for personal user course category |
1593 | - * @param $id |
|
1594 | - * @param $title |
|
1594 | + * @param integer $id |
|
1595 | + * @param string $title |
|
1595 | 1596 | * @return string |
1596 | 1597 | */ |
1597 | 1598 | private static function getHtmlForUserCategory($id, $title) |
@@ -1612,7 +1613,7 @@ discard block |
||
1612 | 1613 | /** |
1613 | 1614 | * return HTML code for course display in session view |
1614 | 1615 | * @param array $courseInfo |
1615 | - * @param $userCategoryId |
|
1616 | + * @param integer $userCategoryId |
|
1616 | 1617 | * @param bool $displayButton |
1617 | 1618 | * @param $loadDirs |
1618 | 1619 | * @return string |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return BBBPlugin|null |
|
45 | + * @return BBBPlugin |
|
46 | 46 | */ |
47 | 47 | public static function create() |
48 | 48 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param string $table |
68 | 68 | * |
69 | - * @return mixed |
|
69 | + * @return string |
|
70 | 70 | */ |
71 | 71 | public static function get_main_table($table) |
72 | 72 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | |
266 | 266 | /** |
267 | 267 | * Frees all the memory associated with the provided result identifier. |
268 | - * @return bool Returns TRUE on success or FALSE on failure. |
|
268 | + * @return boolean|null Returns TRUE on success or FALSE on failure. |
|
269 | 269 | * Notes: Use this method if you are concerned about how much memory is being used for queries that return large result sets. |
270 | 270 | * Anyway, all associated result memory is automatically freed at the end of the script's execution. |
271 | 271 | */ |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * @param array $attributes |
382 | 382 | * @param bool $show_query |
383 | 383 | * |
384 | - * @return bool|int |
|
384 | + * @return false|string |
|
385 | 385 | */ |
386 | 386 | public static function insert($table_name, $attributes, $show_query = false) |
387 | 387 | { |
@@ -674,7 +674,7 @@ discard block |
||
674 | 674 | } |
675 | 675 | |
676 | 676 | /** |
677 | - * @param $table |
|
677 | + * @param string $table |
|
678 | 678 | * @return \Doctrine\DBAL\Schema\Column[] |
679 | 679 | */ |
680 | 680 | public static function listTableColumns($table) |