@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @uses FEATURE_GRADE_OUTCOMES |
99 | 99 | * @uses FEATURE_SHOW_DESCRIPTION |
100 | 100 | * @param string $feature |
101 | - * @return mixed True if yes (some features may use other values) |
|
101 | + * @return null|boolean True if yes (some features may use other values) |
|
102 | 102 | */ |
103 | 103 | function bigbluebuttonbn_supports($feature) { |
104 | 104 | if (!$feature) { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * |
184 | 184 | * @param int $id Id of the module instance |
185 | 185 | * |
186 | - * @return bool Success/Failure |
|
186 | + * @return boolean|null Success/Failure |
|
187 | 187 | */ |
188 | 188 | function bigbluebuttonbn_delete_instance($id) { |
189 | 189 | global $DB; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | * |
211 | 211 | * @param object $bigbluebuttonbn Id of the module instance |
212 | 212 | * |
213 | - * @return bool Success/Failure |
|
213 | + * @return boolean|null Success/Failure |
|
214 | 214 | */ |
215 | 215 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
216 | 216 | global $DB; |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * @param object $mod |
232 | 232 | * @param object $bigbluebuttonbn |
233 | 233 | * |
234 | - * @return bool |
|
234 | + * @return string |
|
235 | 235 | */ |
236 | 236 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
237 | 237 | if ($completed = bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn)) { |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | * @param object $mod |
252 | 252 | * @param object $bigbluebuttonbn |
253 | 253 | * |
254 | - * @return bool |
|
254 | + * @return integer |
|
255 | 255 | */ |
256 | 256 | function bigbluebuttonbn_user_complete($courseorid, $userorid, $mod, $bigbluebuttonbn) { |
257 | 257 | global $DB; |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * @param stdClass $context context object |
625 | 625 | * @param string $filearea file area |
626 | 626 | * |
627 | - * @return false|null false if file not valid |
|
627 | + * @return boolean false if file not valid |
|
628 | 628 | */ |
629 | 629 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
630 | 630 |