@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | * Helper function to retrieve imported recordings from the Moodle database. |
| 297 | 297 | * The references are stored as events in bigbluebuttonbn_logs. |
| 298 | 298 | * |
| 299 | - * @param string $courseid |
|
| 299 | + * @param integer $courseid |
|
| 300 | 300 | * @param string $bigbluebuttonbnid |
| 301 | 301 | * @param bool $subset |
| 302 | 302 | * |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | /** |
| 325 | 325 | * Helper function to retrive the default config.xml file. |
| 326 | 326 | * |
| 327 | - * @return string |
|
| 327 | + * @return null|SimpleXMLElement |
|
| 328 | 328 | */ |
| 329 | 329 | function bigbluebuttonbn_get_default_config_xml() { |
| 330 | 330 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -406,7 +406,7 @@ discard block |
||
| 406 | 406 | * @param object $a |
| 407 | 407 | * @param object $b |
| 408 | 408 | * |
| 409 | - * @return array |
|
| 409 | + * @return integer |
|
| 410 | 410 | */ |
| 411 | 411 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 412 | 412 | global $CFG; |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | * @param string $data |
| 521 | 521 | * @param string $contenttype |
| 522 | 522 | * |
| 523 | - * @return object |
|
| 523 | + * @return null|SimpleXMLElement |
|
| 524 | 524 | */ |
| 525 | 525 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 526 | 526 | if (extension_loaded('curl')) { |
@@ -561,7 +561,7 @@ discard block |
||
| 561 | 561 | * @param string $data |
| 562 | 562 | * @param string $contenttype |
| 563 | 563 | * |
| 564 | - * @return object |
|
| 564 | + * @return string |
|
| 565 | 565 | */ |
| 566 | 566 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 567 | 567 | $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; |
@@ -1257,7 +1257,7 @@ discard block |
||
| 1257 | 1257 | * @param string $meetingid |
| 1258 | 1258 | * @param string $configxml |
| 1259 | 1259 | * |
| 1260 | - * @return object |
|
| 1260 | + * @return null|SimpleXMLElement |
|
| 1261 | 1261 | */ |
| 1262 | 1262 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1263 | 1263 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1306,7 +1306,7 @@ discard block |
||
| 1306 | 1306 | * @param array $recording |
| 1307 | 1307 | * @param array $tools |
| 1308 | 1308 | * |
| 1309 | - * @return array |
|
| 1309 | + * @return null|stdClass |
|
| 1310 | 1310 | */ |
| 1311 | 1311 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1312 | 1312 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1933,7 +1933,7 @@ discard block |
||
| 1933 | 1933 | * |
| 1934 | 1934 | * @param array $bbbsession |
| 1935 | 1935 | * @param array $recording |
| 1936 | - * @param object $rowdata |
|
| 1936 | + * @param stdClass $rowdata |
|
| 1937 | 1937 | * |
| 1938 | 1938 | * @return object |
| 1939 | 1939 | */ |
@@ -2051,7 +2051,7 @@ discard block |
||
| 2051 | 2051 | * |
| 2052 | 2052 | * @param array $bbbsession |
| 2053 | 2053 | * @param array $recordings |
| 2054 | - * @param array $tools |
|
| 2054 | + * @param string[] $tools |
|
| 2055 | 2055 | * |
| 2056 | 2056 | * @return array |
| 2057 | 2057 | */ |
@@ -2129,7 +2129,7 @@ discard block |
||
| 2129 | 2129 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2130 | 2130 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2131 | 2131 | * |
| 2132 | - * @param string $courseid |
|
| 2132 | + * @param integer $courseid |
|
| 2133 | 2133 | * @param string $bigbluebuttonbnid |
| 2134 | 2134 | * @param bool $subset |
| 2135 | 2135 | * |
@@ -2153,7 +2153,7 @@ discard block |
||
| 2153 | 2153 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2154 | 2154 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2155 | 2155 | * |
| 2156 | - * @param string $courseid |
|
| 2156 | + * @param integer $courseid |
|
| 2157 | 2157 | * @param string $bigbluebuttonbnid |
| 2158 | 2158 | * @param bool $subset |
| 2159 | 2159 | * |
@@ -2176,7 +2176,7 @@ discard block |
||
| 2176 | 2176 | /** |
| 2177 | 2177 | * Helper function to get recordings and imported recordings together. |
| 2178 | 2178 | * |
| 2179 | - * @param string $courseid |
|
| 2179 | + * @param integer $courseid |
|
| 2180 | 2180 | * @param string $bigbluebuttonbnid |
| 2181 | 2181 | * @param bool $subset |
| 2182 | 2182 | * @param bool $includedeleted |
@@ -2194,7 +2194,7 @@ discard block |
||
| 2194 | 2194 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2195 | 2195 | * in bigbluebuttonbn_logs. |
| 2196 | 2196 | * |
| 2197 | - * @param string $courseid |
|
| 2197 | + * @param integer $courseid |
|
| 2198 | 2198 | * @param string $bigbluebuttonbnid |
| 2199 | 2199 | * @param bool $subset |
| 2200 | 2200 | * @param bool $includedeleted |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @uses FEATURE_GRADE_OUTCOMES |
| 104 | 104 | * @uses FEATURE_SHOW_DESCRIPTION |
| 105 | 105 | * @param string $feature |
| 106 | - * @return mixed True if yes (some features may use other values) |
|
| 106 | + * @return null|boolean True if yes (some features may use other values) |
|
| 107 | 107 | */ |
| 108 | 108 | function bigbluebuttonbn_supports($feature) { |
| 109 | 109 | if (!$feature) { |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | * |
| 273 | 273 | * @param object $bigbluebuttonbn Id of the module instance |
| 274 | 274 | * |
| 275 | - * @return bool Success/Failure |
|
| 275 | + * @return boolean|null Success/Failure |
|
| 276 | 276 | */ |
| 277 | 277 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
| 278 | 278 | global $DB; |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | * @param object $mod |
| 294 | 294 | * @param object $bigbluebuttonbn |
| 295 | 295 | * |
| 296 | - * @return bool |
|
| 296 | + * @return string |
|
| 297 | 297 | */ |
| 298 | 298 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 299 | 299 | if ($completed = bigbluebuttonbn_user_complete($course, $user, $bigbluebuttonbn)) { |
@@ -869,7 +869,7 @@ discard block |
||
| 869 | 869 | * @param stdClass $context context object |
| 870 | 870 | * @param string $filearea file area |
| 871 | 871 | * |
| 872 | - * @return false|null false if file not valid |
|
| 872 | + * @return boolean false if file not valid |
|
| 873 | 873 | */ |
| 874 | 874 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 875 | 875 | |