@@ -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) |
@@ -1359,6 +1359,7 @@ discard block |
||
1359 | 1359 | * Gets the list of courses a specific user is subscribed to |
1360 | 1360 | * @param int User ID |
1361 | 1361 | * @param boolean $fetch_session Whether to get session courses or not - NOT YET IMPLEMENTED |
1362 | + * @param integer $userid |
|
1362 | 1363 | * @return array Array of courses in the form [0]=>('code'=>xxx,'db'=>xxx,'dir'=>xxx,'status'=>d) |
1363 | 1364 | */ |
1364 | 1365 | function api_get_user_courses($userid, $fetch_session = true) |
@@ -6756,7 +6757,7 @@ discard block |
||
6756 | 6757 | /** |
6757 | 6758 | * Returns an array of global configuration settings which should be ignored |
6758 | 6759 | * when printing the configuration settings screens |
6759 | - * @return array Array of strings, each identifying one of the excluded settings |
|
6760 | + * @return string[] Array of strings, each identifying one of the excluded settings |
|
6760 | 6761 | */ |
6761 | 6762 | function api_get_locked_settings() { |
6762 | 6763 | return array( |
@@ -6799,6 +6800,7 @@ discard block |
||
6799 | 6800 | * false if he isn't. If the user ID is given and is an integer, then the same |
6800 | 6801 | * ID is simply returned |
6801 | 6802 | * @param integer User ID |
6803 | + * @param integer $user_id |
|
6802 | 6804 | * @return boolean Integer User ID is logged in, or false otherwise |
6803 | 6805 | */ |
6804 | 6806 | function api_user_is_login($user_id = null) { |
@@ -7243,6 +7245,7 @@ discard block |
||
7243 | 7245 | /** |
7244 | 7246 | * Gets memory limit in bytes |
7245 | 7247 | * @param string The memory size (128M, 1G, 1000K, etc) |
7248 | + * @param string $mem |
|
7246 | 7249 | * @return int |
7247 | 7250 | * @assert (null) === false |
7248 | 7251 | * @assert ('1t') === 1099511627776 |
@@ -2240,7 +2240,7 @@ |
||
2240 | 2240 | |
2241 | 2241 | /** |
2242 | 2242 | * Creates a file called mysql_dump.sql in the course folder |
2243 | - * @param $course_code The code of the course |
|
2243 | + * @param string $course_code The code of the course |
|
2244 | 2244 | * @todo Implementation for single database |
2245 | 2245 | */ |
2246 | 2246 | public static function create_database_dump($course_code) |
@@ -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 | { |