@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | * Helper function to retrieve imported recordings from the Moodle database. |
| 263 | 263 | * The references are stored as events in bigbluebuttonbn_logs. |
| 264 | 264 | * |
| 265 | - * @param string $courseid |
|
| 265 | + * @param integer $courseid |
|
| 266 | 266 | * @param string $bigbluebuttonbnid |
| 267 | 267 | * @param bool $subset |
| 268 | 268 | * |
@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | /** |
| 291 | 291 | * Helper function to retrive the default config.xml file. |
| 292 | 292 | * |
| 293 | - * @return string |
|
| 293 | + * @return null|SimpleXMLElement |
|
| 294 | 294 | */ |
| 295 | 295 | function bigbluebuttonbn_get_default_config_xml() { |
| 296 | 296 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | * @param object $a |
| 373 | 373 | * @param object $b |
| 374 | 374 | * |
| 375 | - * @return array |
|
| 375 | + * @return integer |
|
| 376 | 376 | */ |
| 377 | 377 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 378 | 378 | if ($a['startTime'] < $b['startTime']) { |
@@ -498,7 +498,7 @@ discard block |
||
| 498 | 498 | * @param string $data |
| 499 | 499 | * @param string $contenttype |
| 500 | 500 | * |
| 501 | - * @return object |
|
| 501 | + * @return null|SimpleXMLElement |
|
| 502 | 502 | */ |
| 503 | 503 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 504 | 504 | if (extension_loaded('curl')) { |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | * @param string $data |
| 540 | 540 | * @param string $contenttype |
| 541 | 541 | * |
| 542 | - * @return object |
|
| 542 | + * @return string |
|
| 543 | 543 | */ |
| 544 | 544 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 545 | 545 | $c = new curl(); |
@@ -904,7 +904,7 @@ discard block |
||
| 904 | 904 | * @param integer $instance |
| 905 | 905 | * @param integer $voicebridge |
| 906 | 906 | * |
| 907 | - * @return string |
|
| 907 | + * @return boolean |
|
| 908 | 908 | */ |
| 909 | 909 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 910 | 910 | global $DB; |
@@ -1170,7 +1170,7 @@ discard block |
||
| 1170 | 1170 | * @param string $meetingid |
| 1171 | 1171 | * @param string $configxml |
| 1172 | 1172 | * |
| 1173 | - * @return object |
|
| 1173 | + * @return null|SimpleXMLElement |
|
| 1174 | 1174 | */ |
| 1175 | 1175 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1176 | 1176 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1219,7 +1219,7 @@ discard block |
||
| 1219 | 1219 | * @param array $recording |
| 1220 | 1220 | * @param array $tools |
| 1221 | 1221 | * |
| 1222 | - * @return array |
|
| 1222 | + * @return null|stdClass |
|
| 1223 | 1223 | */ |
| 1224 | 1224 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1225 | 1225 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1723,7 +1723,7 @@ discard block |
||
| 1723 | 1723 | * |
| 1724 | 1724 | * @param array $bbbsession |
| 1725 | 1725 | * @param array $recording |
| 1726 | - * @param object $rowdata |
|
| 1726 | + * @param stdClass $rowdata |
|
| 1727 | 1727 | * |
| 1728 | 1728 | * @return object |
| 1729 | 1729 | */ |
@@ -1918,7 +1918,7 @@ discard block |
||
| 1918 | 1918 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 1919 | 1919 | * in the getRecordings request considering only those that belong to deleted activities. |
| 1920 | 1920 | * |
| 1921 | - * @param string $courseid |
|
| 1921 | + * @param integer $courseid |
|
| 1922 | 1922 | * @param string $bigbluebuttonbnid |
| 1923 | 1923 | * @param bool $subset |
| 1924 | 1924 | * |
@@ -1942,7 +1942,7 @@ discard block |
||
| 1942 | 1942 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 1943 | 1943 | * in the getRecordings request considering only those that belong to imported recordings. |
| 1944 | 1944 | * |
| 1945 | - * @param string $courseid |
|
| 1945 | + * @param integer $courseid |
|
| 1946 | 1946 | * @param string $bigbluebuttonbnid |
| 1947 | 1947 | * @param bool $subset |
| 1948 | 1948 | * |
@@ -1965,7 +1965,7 @@ discard block |
||
| 1965 | 1965 | /** |
| 1966 | 1966 | * Helper function to get recordings and imported recordings together. |
| 1967 | 1967 | * |
| 1968 | - * @param string $courseid |
|
| 1968 | + * @param integer $courseid |
|
| 1969 | 1969 | * @param string $bigbluebuttonbnid |
| 1970 | 1970 | * @param bool $subset |
| 1971 | 1971 | * @param bool $includedeleted |
@@ -1983,7 +1983,7 @@ discard block |
||
| 1983 | 1983 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 1984 | 1984 | * in bigbluebuttonbn_logs. |
| 1985 | 1985 | * |
| 1986 | - * @param string $courseid |
|
| 1986 | + * @param integer $courseid |
|
| 1987 | 1987 | * @param string $bigbluebuttonbnid |
| 1988 | 1988 | * @param bool $subset |
| 1989 | 1989 | * @param bool $includedeleted |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * @uses FEATURE_GRADE_OUTCOMES |
| 103 | 103 | * @uses FEATURE_SHOW_DESCRIPTION |
| 104 | 104 | * @param string $feature |
| 105 | - * @return mixed True if yes (some features may use other values) |
|
| 105 | + * @return null|boolean True if yes (some features may use other values) |
|
| 106 | 106 | */ |
| 107 | 107 | function bigbluebuttonbn_supports($feature) { |
| 108 | 108 | if (!$feature) { |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | * |
| 188 | 188 | * @param int $id Id of the module instance |
| 189 | 189 | * |
| 190 | - * @return bool Success/Failure |
|
| 190 | + * @return boolean|null Success/Failure |
|
| 191 | 191 | */ |
| 192 | 192 | function bigbluebuttonbn_delete_instance($id) { |
| 193 | 193 | global $DB; |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param object $bigbluebuttonbn Id of the module instance |
| 216 | 216 | * |
| 217 | - * @return bool Success/Failure |
|
| 217 | + * @return boolean|null Success/Failure |
|
| 218 | 218 | */ |
| 219 | 219 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
| 220 | 220 | global $DB; |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | * @param object $mod |
| 236 | 236 | * @param object $bigbluebuttonbn |
| 237 | 237 | * |
| 238 | - * @return bool |
|
| 238 | + * @return string |
|
| 239 | 239 | */ |
| 240 | 240 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 241 | 241 | global $DB; |
@@ -592,7 +592,7 @@ discard block |
||
| 592 | 592 | * @param stdClass $context context object |
| 593 | 593 | * @param string $filearea file area |
| 594 | 594 | * |
| 595 | - * @return false|null false if file not valid |
|
| 595 | + * @return boolean false if file not valid |
|
| 596 | 596 | */ |
| 597 | 597 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 598 | 598 | if ($context->contextlevel != CONTEXT_MODULE) { |