@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * Helper function to retrieve imported recordings from the Moodle database. |
293 | 293 | * The references are stored as events in bigbluebuttonbn_logs. |
294 | 294 | * |
295 | - * @param string $courseid |
|
295 | + * @param integer $courseid |
|
296 | 296 | * @param string $bigbluebuttonbnid |
297 | 297 | * @param bool $subset |
298 | 298 | * |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | /** |
321 | 321 | * Helper function to retrive the default config.xml file. |
322 | 322 | * |
323 | - * @return string |
|
323 | + * @return null|SimpleXMLElement |
|
324 | 324 | */ |
325 | 325 | function bigbluebuttonbn_get_default_config_xml() { |
326 | 326 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | * @param object $a |
403 | 403 | * @param object $b |
404 | 404 | * |
405 | - * @return array |
|
405 | + * @return integer |
|
406 | 406 | */ |
407 | 407 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
408 | 408 | if ($a['startTime'] < $b['startTime']) { |
@@ -528,7 +528,7 @@ discard block |
||
528 | 528 | * @param string $data |
529 | 529 | * @param string $contenttype |
530 | 530 | * |
531 | - * @return object |
|
531 | + * @return null|SimpleXMLElement |
|
532 | 532 | */ |
533 | 533 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
534 | 534 | if (extension_loaded('curl')) { |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | * @param string $data |
570 | 570 | * @param string $contenttype |
571 | 571 | * |
572 | - * @return object |
|
572 | + * @return string |
|
573 | 573 | */ |
574 | 574 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
575 | 575 | $c = new curl(); |
@@ -934,7 +934,7 @@ discard block |
||
934 | 934 | * @param integer $instance |
935 | 935 | * @param integer $voicebridge |
936 | 936 | * |
937 | - * @return string |
|
937 | + * @return boolean |
|
938 | 938 | */ |
939 | 939 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
940 | 940 | global $DB; |
@@ -1037,7 +1037,7 @@ discard block |
||
1037 | 1037 | /** |
1038 | 1038 | * Helper returns an array with all possible bigbluebuttonbn events. |
1039 | 1039 | * |
1040 | - * @return array |
|
1040 | + * @return string[] |
|
1041 | 1041 | */ |
1042 | 1042 | function bigbluebuttonbn_events() { |
1043 | 1043 | return array( |
@@ -1246,7 +1246,7 @@ discard block |
||
1246 | 1246 | * @param string $meetingid |
1247 | 1247 | * @param string $configxml |
1248 | 1248 | * |
1249 | - * @return object |
|
1249 | + * @return null|SimpleXMLElement |
|
1250 | 1250 | */ |
1251 | 1251 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
1252 | 1252 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1295,7 +1295,7 @@ discard block |
||
1295 | 1295 | * @param array $recording |
1296 | 1296 | * @param array $tools |
1297 | 1297 | * |
1298 | - * @return array |
|
1298 | + * @return null|stdClass |
|
1299 | 1299 | */ |
1300 | 1300 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
1301 | 1301 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1799,7 +1799,7 @@ discard block |
||
1799 | 1799 | * |
1800 | 1800 | * @param array $bbbsession |
1801 | 1801 | * @param array $recording |
1802 | - * @param object $rowdata |
|
1802 | + * @param stdClass $rowdata |
|
1803 | 1803 | * |
1804 | 1804 | * @return object |
1805 | 1805 | */ |
@@ -1998,7 +1998,7 @@ discard block |
||
1998 | 1998 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1999 | 1999 | * in the getRecordings request considering only those that belong to deleted activities. |
2000 | 2000 | * |
2001 | - * @param string $courseid |
|
2001 | + * @param integer $courseid |
|
2002 | 2002 | * @param string $bigbluebuttonbnid |
2003 | 2003 | * @param bool $subset |
2004 | 2004 | * |
@@ -2022,7 +2022,7 @@ discard block |
||
2022 | 2022 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
2023 | 2023 | * in the getRecordings request considering only those that belong to imported recordings. |
2024 | 2024 | * |
2025 | - * @param string $courseid |
|
2025 | + * @param integer $courseid |
|
2026 | 2026 | * @param string $bigbluebuttonbnid |
2027 | 2027 | * @param bool $subset |
2028 | 2028 | * |
@@ -2045,7 +2045,7 @@ discard block |
||
2045 | 2045 | /** |
2046 | 2046 | * Helper function to get recordings and imported recordings together. |
2047 | 2047 | * |
2048 | - * @param string $courseid |
|
2048 | + * @param integer $courseid |
|
2049 | 2049 | * @param string $bigbluebuttonbnid |
2050 | 2050 | * @param bool $subset |
2051 | 2051 | * @param bool $includedeleted |
@@ -2063,7 +2063,7 @@ discard block |
||
2063 | 2063 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
2064 | 2064 | * in bigbluebuttonbn_logs. |
2065 | 2065 | * |
2066 | - * @param string $courseid |
|
2066 | + * @param integer $courseid |
|
2067 | 2067 | * @param string $bigbluebuttonbnid |
2068 | 2068 | * @param bool $subset |
2069 | 2069 | * @param bool $includedeleted |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * @uses FEATURE_GRADE_OUTCOMES |
107 | 107 | * @uses FEATURE_SHOW_DESCRIPTION |
108 | 108 | * @param string $feature |
109 | - * @return mixed True if yes (some features may use other values) |
|
109 | + * @return null|boolean True if yes (some features may use other values) |
|
110 | 110 | */ |
111 | 111 | function bigbluebuttonbn_supports($feature) { |
112 | 112 | if (!$feature) { |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | * |
227 | 227 | * @param object $bigbluebuttonbn Id of the module instance |
228 | 228 | * |
229 | - * @return bool Success/Failure |
|
229 | + * @return boolean|null Success/Failure |
|
230 | 230 | */ |
231 | 231 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
232 | 232 | global $DB; |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | * @param object $mod |
250 | 250 | * @param object $bigbluebuttonbn |
251 | 251 | * |
252 | - * @return bool |
|
252 | + * @return string |
|
253 | 253 | */ |
254 | 254 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
255 | 255 | global $DB; |
@@ -757,7 +757,7 @@ discard block |
||
757 | 757 | * @param stdClass $context context object |
758 | 758 | * @param string $filearea file area |
759 | 759 | * |
760 | - * @return false|null false if file not valid |
|
760 | + * @return boolean false if file not valid |
|
761 | 761 | */ |
762 | 762 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
763 | 763 | if ($context->contextlevel != CONTEXT_MODULE) { |