Completed
Push — master ( 0ba9a1...0759d1 )
by Jesus
02:18
created
lib.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
locallib.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
  * Helper function to retrieve imported recordings from the Moodle database.
294 294
  * The references are stored as events in bigbluebuttonbn_logs.
295 295
  *
296
- * @param string $courseid
296
+ * @param integer $courseid
297 297
  * @param string $bigbluebuttonbnid
298 298
  * @param bool   $subset
299 299
  *
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 /**
322 322
  * Helper function to retrive the default config.xml file.
323 323
  *
324
- * @return string
324
+ * @return null|SimpleXMLElement
325 325
  */
326 326
 function bigbluebuttonbn_get_default_config_xml() {
327 327
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
  * @param object $a
404 404
  * @param object $b
405 405
  *
406
- * @return array
406
+ * @return integer
407 407
  */
408 408
 function bigbluebuttonbn_recording_build_sorter($a, $b) {
409 409
     if ($a['startTime'] < $b['startTime']) {
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
  * @param string $data
530 530
  * @param string $contenttype
531 531
  *
532
- * @return object
532
+ * @return null|SimpleXMLElement
533 533
  */
534 534
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
535 535
     if (extension_loaded('curl')) {
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
  * @param string $data
571 571
  * @param string $contenttype
572 572
  *
573
- * @return object
573
+ * @return string
574 574
  */
575 575
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
576 576
     $c = new curl();
@@ -934,7 +934,7 @@  discard block
 block discarded – undo
934 934
  *
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.