@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * @uses FEATURE_GRADE_OUTCOMES |
| 98 | 98 | * @uses FEATURE_SHOW_DESCRIPTION |
| 99 | 99 | * @param string $feature |
| 100 | - * @return mixed True if yes (some features may use other values) |
|
| 100 | + * @return null|boolean True if yes (some features may use other values) |
|
| 101 | 101 | */ |
| 102 | 102 | function bigbluebuttonbn_supports($feature) { |
| 103 | 103 | if (!$feature) { |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | * @param object $mod |
| 240 | 240 | * @param object $bigbluebuttonbn |
| 241 | 241 | * |
| 242 | - * @return bool |
|
| 242 | + * @return string |
|
| 243 | 243 | */ |
| 244 | 244 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 245 | 245 | global $DB; |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | * @param stdClass $context context object |
| 543 | 543 | * @param string $filearea file area |
| 544 | 544 | * |
| 545 | - * @return false|null false if file not valid |
|
| 545 | + * @return boolean false if file not valid |
|
| 546 | 546 | */ |
| 547 | 547 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 548 | 548 | if ($context->contextlevel != CONTEXT_MODULE) { |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | /** |
| 327 | 327 | * Helper function to retrive the default config.xml file. |
| 328 | 328 | * |
| 329 | - * @return string |
|
| 329 | + * @return null|SimpleXMLElement |
|
| 330 | 330 | */ |
| 331 | 331 | function bigbluebuttonbn_get_default_config_xml() { |
| 332 | 332 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -397,7 +397,7 @@ discard block |
||
| 397 | 397 | * @param object $a |
| 398 | 398 | * @param object $b |
| 399 | 399 | * |
| 400 | - * @return array |
|
| 400 | + * @return integer |
|
| 401 | 401 | */ |
| 402 | 402 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 403 | 403 | if ($a['startTime'] < $b['startTime']) { |
@@ -523,7 +523,7 @@ discard block |
||
| 523 | 523 | * @param string $data |
| 524 | 524 | * @param string $contenttype |
| 525 | 525 | * |
| 526 | - * @return object |
|
| 526 | + * @return null|SimpleXMLElement |
|
| 527 | 527 | */ |
| 528 | 528 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 529 | 529 | if (extension_loaded('curl')) { |
@@ -564,7 +564,7 @@ discard block |
||
| 564 | 564 | * @param string $data |
| 565 | 565 | * @param string $contenttype |
| 566 | 566 | * |
| 567 | - * @return object |
|
| 567 | + * @return string |
|
| 568 | 568 | */ |
| 569 | 569 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 570 | 570 | $c = new curl(); |
@@ -604,7 +604,7 @@ discard block |
||
| 604 | 604 | * Returns user roles in a context. |
| 605 | 605 | * |
| 606 | 606 | * @param context $context |
| 607 | - * @param context $userid |
|
| 607 | + * @param integer $userid |
|
| 608 | 608 | * |
| 609 | 609 | * @return array $userroles |
| 610 | 610 | */ |
@@ -928,7 +928,7 @@ discard block |
||
| 928 | 928 | * |
| 929 | 929 | * @param integer $voicebridge |
| 930 | 930 | * |
| 931 | - * @return string |
|
| 931 | + * @return boolean |
|
| 932 | 932 | */ |
| 933 | 933 | function bigbluebuttonbn_voicebridge_unique($voicebridge) { |
| 934 | 934 | global $DB; |
@@ -1028,7 +1028,7 @@ discard block |
||
| 1028 | 1028 | /** |
| 1029 | 1029 | * Helper returns an array with all possible bigbluebuttonbn events. |
| 1030 | 1030 | * |
| 1031 | - * @return array |
|
| 1031 | + * @return string[] |
|
| 1032 | 1032 | */ |
| 1033 | 1033 | function bigbluebuttonbn_events() { |
| 1034 | 1034 | return array( |
@@ -1237,7 +1237,7 @@ discard block |
||
| 1237 | 1237 | * @param string $meetingid |
| 1238 | 1238 | * @param string $configxml |
| 1239 | 1239 | * |
| 1240 | - * @return object |
|
| 1240 | + * @return null|SimpleXMLElement |
|
| 1241 | 1241 | */ |
| 1242 | 1242 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1243 | 1243 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1286,7 +1286,7 @@ discard block |
||
| 1286 | 1286 | * @param array $recording |
| 1287 | 1287 | * @param array $tools |
| 1288 | 1288 | * |
| 1289 | - * @return array |
|
| 1289 | + * @return null|stdClass |
|
| 1290 | 1290 | */ |
| 1291 | 1291 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1292 | 1292 | if (!$bbbsession['managerecordings'] && $recording['published'] != 'true') { |
@@ -1949,7 +1949,7 @@ discard block |
||
| 1949 | 1949 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 1950 | 1950 | * in the getRecordings request considering only those that belong to deleted activities. |
| 1951 | 1951 | * |
| 1952 | - * @param string $courseid |
|
| 1952 | + * @param integer $courseid |
|
| 1953 | 1953 | * @param string $bigbluebuttonbnid |
| 1954 | 1954 | * @param bool $subset |
| 1955 | 1955 | * |