@@ -116,7 +116,7 @@ |
||
116 | 116 | * @param int $sessionId |
117 | 117 | * @param string $downloadCertificateLink |
118 | 118 | * @param string $badgeLink |
119 | - * @return mixed|string |
|
119 | + * @return string |
|
120 | 120 | */ |
121 | 121 | function generateLPFinalItemTemplate($lpItemId, $courseCode, $sessionId=0, $downloadCertificateLink='', $badgeLink='') |
122 | 122 | { |
@@ -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 |