Completed
Push — master ( 034c94...4546d7 )
by Jesus
02:08
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   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
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
  *
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
 /**
332 332
  * Helper function to retrive the default config.xml file.
333 333
  *
334
- * @return string
334
+ * @return null|SimpleXMLElement
335 335
  */
336 336
 function bigbluebuttonbn_get_default_config_xml() {
337 337
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
  *
934 934
  * @param integer $voicebridge
935 935
  *
936
- * @return string
936
+ * @return boolean
937 937
  */
938 938
 function bigbluebuttonbn_voicebridge_unique($voicebridge) {
939 939
     global $DB;
@@ -1033,7 +1033,7 @@  discard block
 block discarded – undo
1033 1033
 /**
1034 1034
  * Helper returns an array with all possible bigbluebuttonbn events.
1035 1035
  *
1036
- * @return array
1036
+ * @return string[]
1037 1037
  */
1038 1038
 function bigbluebuttonbn_events() {
1039 1039
     return array(
@@ -1242,7 +1242,7 @@  discard block
 block discarded – undo
1242 1242
  * @param string $meetingid
1243 1243
  * @param string $configxml
1244 1244
  *
1245
- * @return object
1245
+ * @return null|SimpleXMLElement
1246 1246
  */
1247 1247
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1248 1248
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?';
@@ -1291,7 +1291,7 @@  discard block
 block discarded – undo
1291 1291
  * @param array $recording
1292 1292
  * @param array $tools
1293 1293
  *
1294
- * @return array
1294
+ * @return null|stdClass
1295 1295
  */
1296 1296
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1297 1297
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -1793,7 +1793,7 @@  discard block
 block discarded – undo
1793 1793
  *
1794 1794
  * @param array $bbbsession
1795 1795
  * @param array $recording
1796
- * @param object $rowdata
1796
+ * @param stdClass $rowdata
1797 1797
  *
1798 1798
  * @return object
1799 1799
  */
@@ -1981,7 +1981,7 @@  discard block
 block discarded – undo
1981 1981
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
1982 1982
  * in the getRecordings request considering only those that belong to deleted activities.
1983 1983
  *
1984
- * @param string $courseid
1984
+ * @param integer $courseid
1985 1985
  * @param string $bigbluebuttonbnid
1986 1986
  * @param bool   $subset
1987 1987
  *
@@ -2004,7 +2004,7 @@  discard block
 block discarded – undo
2004 2004
 /**
2005 2005
  * Helper function to get recordings  and imported recordings together.
2006 2006
  *
2007
- * @param string $courseid
2007
+ * @param integer $courseid
2008 2008
  * @param string $bigbluebuttonbnid
2009 2009
  * @param bool   $subset
2010 2010
  * @param bool   $includedeleted
@@ -2023,7 +2023,7 @@  discard block
 block discarded – undo
2023 2023
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2024 2024
  * in bigbluebuttonbn_logs.
2025 2025
  *
2026
- * @param string $courseid
2026
+ * @param integer $courseid
2027 2027
  * @param string $bigbluebuttonbnid
2028 2028
  * @param bool   $subset
2029 2029
  * @param bool   $includedeleted
Please login to merge, or discard this patch.