@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | * @param reference Reference to the array to search |
260 | 260 | * @param string Node we are looking for in the array |
261 | 261 | * @param string $node |
262 | - * @return mixed Node name or false if not found |
|
262 | + * @return false|string Node name or false if not found |
|
263 | 263 | */ |
264 | 264 | function myarraysearch(&$array, $node) |
265 | 265 | { |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * Searches an image name into an array. |
281 | 281 | * @param reference Reference to an array to search |
282 | 282 | * @param string String to look for |
283 | - * @return mixed String given if found, false otherwise |
|
283 | + * @return false|string String given if found, false otherwise |
|
284 | 284 | * @uses myarraysearch This function is just an additional layer on the myarraysearch() function |
285 | 285 | */ |
286 | 286 | function CheckImageName(&$imgparams, $string) |
@@ -1545,7 +1545,7 @@ |
||
1545 | 1545 | * Retrieve all categories inside a course independent category |
1546 | 1546 | * that should be visible to a student. |
1547 | 1547 | * @param integer $cat_id parent category |
1548 | - * @param $stud_id student id |
|
1548 | + * @param integer $stud_id student id |
|
1549 | 1549 | * @param $cats optional: if defined, the categories will be added to this array |
1550 | 1550 | */ |
1551 | 1551 | public function get_independent_categories_with_result_for_student($cat_id, $stud_id, $cats = array()) |
@@ -273,7 +273,7 @@ |
||
273 | 273 | |
274 | 274 | |
275 | 275 | /** |
276 | - * @param array $result |
|
276 | + * @param Doctrine\DBAL\Driver\Statement|null $result |
|
277 | 277 | * @return array |
278 | 278 | */ |
279 | 279 | private static function create_evaluation_objects_from_sql_result($result) |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | |
360 | 360 | /** |
361 | 361 | * Get description titles by default |
362 | - * @return array |
|
362 | + * @return string[] |
|
363 | 363 | */ |
364 | 364 | public function get_default_description_title() |
365 | 365 | { |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | |
379 | 379 | /** |
380 | 380 | * Get description titles editable by default |
381 | - * @return array |
|
381 | + * @return boolean[] |
|
382 | 382 | */ |
383 | 383 | public function get_default_description_title_editable() |
384 | 384 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | |
398 | 398 | /** |
399 | 399 | * Get description icons by default |
400 | - * @return array |
|
400 | + * @return string[] |
|
401 | 401 | */ |
402 | 402 | public function get_default_description_icon() |
403 | 403 | { |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | |
418 | 418 | /** |
419 | 419 | * Get questions by default for help |
420 | - * @return array |
|
420 | + * @return string[] |
|
421 | 421 | */ |
422 | 422 | public function get_default_question() |
423 | 423 | { |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | |
437 | 437 | /** |
438 | 438 | * Get informations by default for help |
439 | - * @return array |
|
439 | + * @return string[] |
|
440 | 440 | */ |
441 | 441 | public function get_default_information() |
442 | 442 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | /** |
37 | 37 | * Instance the plugin |
38 | 38 | * @staticvar null $result |
39 | - * @return Tour |
|
39 | + * @return AzureActiveDirectory |
|
40 | 40 | */ |
41 | 41 | static function create() |
42 | 42 | { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | /** |
196 | 196 | * Get parentId |
197 | 197 | * |
198 | - * @return boolean |
|
198 | + * @return integer |
|
199 | 199 | */ |
200 | 200 | public function getParentId() |
201 | 201 | { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Get id |
207 | 207 | * |
208 | - * @return boolean |
|
208 | + * @return integer |
|
209 | 209 | */ |
210 | 210 | public function getId() |
211 | 211 | { |
@@ -1869,7 +1869,7 @@ discard block |
||
1869 | 1869 | |
1870 | 1870 | /** |
1871 | 1871 | * Get the extra terms (tags) that identify this item |
1872 | - * @return mixed |
|
1872 | + * @return string |
|
1873 | 1873 | */ |
1874 | 1874 | public function get_terms() |
1875 | 1875 | { |
@@ -2069,7 +2069,7 @@ discard block |
||
2069 | 2069 | |
2070 | 2070 | /** |
2071 | 2071 | * Opens/launches the item. Initialises runtime values. |
2072 | - * @return boolean True on success, false on failure. |
|
2072 | + * @return boolean|null True on success, false on failure. |
|
2073 | 2073 | */ |
2074 | 2074 | public function open($allow_new_attempt = false) |
2075 | 2075 | { |
@@ -3504,7 +3504,7 @@ discard block |
||
3504 | 3504 | |
3505 | 3505 | /** |
3506 | 3506 | * Checks if the current status is part of the list of status given |
3507 | - * @param array $list An array of status to check for. |
|
3507 | + * @param string[] $list An array of status to check for. |
|
3508 | 3508 | * If the current status is one of the strings, return true |
3509 | 3509 | * |
3510 | 3510 | * @return boolean True if the status was one of the given strings, |
@@ -3681,7 +3681,7 @@ discard block |
||
3681 | 3681 | /** |
3682 | 3682 | * Write objectives to DB. This method is separate from write_to_db() because otherwise |
3683 | 3683 | * objectives are lost as a side effect to AJAX and session concurrent access |
3684 | - * @return boolean True or false on error |
|
3684 | + * @return boolean|null True or false on error |
|
3685 | 3685 | */ |
3686 | 3686 | public function write_objectives_to_db() |
3687 | 3687 | { |
@@ -4322,7 +4322,7 @@ discard block |
||
4322 | 4322 | * Removes the relation between the current item and an audio file. The file |
4323 | 4323 | * is only removed from the lp_item table, but remains in the document table |
4324 | 4324 | * and directory |
4325 | - * @return bool |
|
4325 | + * @return false|null |
|
4326 | 4326 | */ |
4327 | 4327 | public function remove_audio() |
4328 | 4328 | { |
@@ -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 | { |
@@ -1073,8 +1073,8 @@ |
||
1073 | 1073 | |
1074 | 1074 | /** |
1075 | 1075 | * Get li HTML of page number |
1076 | - * @param $pageNumber |
|
1077 | - * @param $pageLength |
|
1076 | + * @param integer $pageNumber |
|
1077 | + * @param integer $pageLength |
|
1078 | 1078 | * @param array $liAttributes |
1079 | 1079 | * @param string $content |
1080 | 1080 | * @return string |