@@ -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(); |
@@ -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 (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1788,7 +1788,7 @@ discard block |
||
1788 | 1788 | * |
1789 | 1789 | * @param array $bbbsession |
1790 | 1790 | * @param array $recording |
1791 | - * @param object $rowdata |
|
1791 | + * @param stdClass $rowdata |
|
1792 | 1792 | * |
1793 | 1793 | * @return object |
1794 | 1794 | */ |
@@ -1976,7 +1976,7 @@ discard block |
||
1976 | 1976 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1977 | 1977 | * in the getRecordings request considering only those that belong to deleted activities. |
1978 | 1978 | * |
1979 | - * @param string $courseid |
|
1979 | + * @param integer $courseid |
|
1980 | 1980 | * @param string $bigbluebuttonbnid |
1981 | 1981 | * @param bool $subset |
1982 | 1982 | * |