@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @param array $array |
|
94 | + * @param string[] $array |
|
95 | 95 | */ |
96 | 96 | public function set_tools_to_build($array) |
97 | 97 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * @param string $courseCode |
124 | 124 | * @param bool true if you want to get the elements that exists in the course and |
125 | 125 | * in the session, (session_id = 0 or session_id = X) |
126 | - * @return object The course object structure |
|
126 | + * @return Course The course object structure |
|
127 | 127 | */ |
128 | 128 | public function build( |
129 | 129 | $session_id = 0, |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | /** |
15 | 15 | * Display the form |
16 | - * @param array $hidden_fiels Hidden fields to add to the form. |
|
16 | + * @param array $hidden_fields Hidden fields to add to the form. |
|
17 | 17 | * @param boolean the document array will be serialize. This is used in the course_copy.php file |
18 | 18 | */ |
19 | 19 | static function display_form($course, $hidden_fields = null, $avoid_serialize = false) |
@@ -570,7 +570,7 @@ discard block |
||
570 | 570 | |
571 | 571 | /** |
572 | 572 | * Display the form session export |
573 | - * @param array $hidden_fiels Hidden fields to add to the form. |
|
573 | + * @param array $hidden_fields Hidden fields to add to the form. |
|
574 | 574 | * @param boolean the document array will be serialize. This is used in the course_copy.php file |
575 | 575 | */ |
576 | 576 | public static function display_form_session_export($list_course, $hidden_fields = null, $avoid_serialize = false) |
@@ -280,6 +280,7 @@ |
||
280 | 280 | } |
281 | 281 | /** |
282 | 282 | * Get dummy titles, descriptions and texts |
283 | + * @param string $type |
|
283 | 284 | */ |
284 | 285 | function get_dummy_content($type) |
285 | 286 | { |
@@ -50,9 +50,6 @@ |
||
50 | 50 | * @param int $id |
51 | 51 | * @param string $title |
52 | 52 | * @param string $content |
53 | - * @param string $date |
|
54 | - * @param string $hour |
|
55 | - * @param int $duration |
|
56 | 53 | */ |
57 | 54 | public function __construct( |
58 | 55 | $id, |
@@ -115,6 +115,9 @@ |
||
115 | 115 | $this->answers[] = $answer; |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param QuizQuestionOption $option_obj |
|
120 | + */ |
|
118 | 121 | public function add_option($option_obj) |
119 | 122 | { |
120 | 123 | $this->question_options[$option_obj->obj->id] = $option_obj; |
@@ -128,7 +128,7 @@ |
||
128 | 128 | |
129 | 129 | /** |
130 | 130 | * Resturns the type of this resource |
131 | - * @return constant The type. |
|
131 | + * @return integer The type. |
|
132 | 132 | */ |
133 | 133 | public function get_type() |
134 | 134 | { |
@@ -65,6 +65,9 @@ |
||
65 | 65 | |
66 | 66 | /* FUNCTIONS */ |
67 | 67 | |
68 | +/** |
|
69 | + * @param string $name |
|
70 | + */ |
|
68 | 71 | function make_select_session_list($name, $sessions, $attr = array()) |
69 | 72 | { |
70 | 73 |
@@ -50,6 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * Returns a quarter from a month |
52 | 52 | * @param string The month (digit), with or without leading 0 |
53 | + * @param string $month |
|
53 | 54 | * @return int The yearly quarter (1, 2, 3 or 4) in which this month lies |
54 | 55 | */ |
55 | 56 | function getQuarter($month) |
@@ -96,6 +97,7 @@ discard block |
||
96 | 97 | /** |
97 | 98 | * Returns the first month of the quarter |
98 | 99 | * @param int Quarter |
100 | + * @param integer $quarter |
|
99 | 101 | * @return string Number of the month, with leading 0 |
100 | 102 | */ |
101 | 103 | function getQuarterFirstMonth($quarter) |
@@ -116,6 +118,7 @@ discard block |
||
116 | 118 | /** |
117 | 119 | * Get the quarter in Roman letters |
118 | 120 | * @param int Quarter |
121 | + * @param integer $quarter |
|
119 | 122 | * @return string Roman letters |
120 | 123 | */ |
121 | 124 | function getQuarterRoman($quarter) |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | public $conditions; |
49 | 49 | |
50 | 50 | /** |
51 | - * @param Logger $logger |
|
51 | + * @param Monolog\Logger $logger |
|
52 | 52 | * @param array |
53 | 53 | */ |
54 | 54 | public function __construct($logger, $conditions) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
69 | - * @return mixed |
|
69 | + * @return boolean |
|
70 | 70 | */ |
71 | 71 | public function getDumpValues() |
72 | 72 | { |