@@ -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) |
@@ -6733,7 +6734,7 @@ discard block |
||
| 6733 | 6734 | /** |
| 6734 | 6735 | * Returns an array of global configuration settings which should be ignored |
| 6735 | 6736 | * when printing the configuration settings screens |
| 6736 | - * @return array Array of strings, each identifying one of the excluded settings |
|
| 6737 | + * @return string[] Array of strings, each identifying one of the excluded settings |
|
| 6737 | 6738 | */ |
| 6738 | 6739 | function api_get_locked_settings() { |
| 6739 | 6740 | return array( |
@@ -6776,6 +6777,7 @@ discard block |
||
| 6776 | 6777 | * false if he isn't. If the user ID is given and is an integer, then the same |
| 6777 | 6778 | * ID is simply returned |
| 6778 | 6779 | * @param integer User ID |
| 6780 | + * @param integer $user_id |
|
| 6779 | 6781 | * @return boolean Integer User ID is logged in, or false otherwise |
| 6780 | 6782 | */ |
| 6781 | 6783 | function api_user_is_login($user_id = null) { |
@@ -7220,6 +7222,7 @@ discard block |
||
| 7220 | 7222 | /** |
| 7221 | 7223 | * Gets memory limit in bytes |
| 7222 | 7224 | * @param string The memory size (128M, 1G, 1000K, etc) |
| 7225 | + * @param string $mem |
|
| 7223 | 7226 | * @return int |
| 7224 | 7227 | * @assert (null) === false |
| 7225 | 7228 | * @assert ('1t') === 1099511627776 |
@@ -8131,7 +8134,7 @@ discard block |
||
| 8131 | 8134 | /** |
| 8132 | 8135 | * Like strip_tags(), but leaves an additional space and removes only the given tags |
| 8133 | 8136 | * @param string $string |
| 8134 | - * @param array $tags Tags to be removed |
|
| 8137 | + * @param string[] $tags Tags to be removed |
|
| 8135 | 8138 | * @return string The original string without the given tags |
| 8136 | 8139 | */ |
| 8137 | 8140 | function stripGivenTags($string, $tags) { |