Completed
Pull Request — master (#339)
by
unknown
02:39
created
locallib.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
  * Helper function to retrieve imported recordings from the Moodle database.
327 327
  * The references are stored as events in bigbluebuttonbn_logs.
328 328
  *
329
- * @param string $courseid
329
+ * @param integer $courseid
330 330
  * @param string $bigbluebuttonbnid
331 331
  * @param bool   $subset
332 332
  *
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
 /**
355 355
  * Helper function to retrive the default config.xml file.
356 356
  *
357
- * @return string
357
+ * @return null|SimpleXMLElement
358 358
  */
359 359
 function bigbluebuttonbn_get_default_config_xml() {
360 360
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
  * @param object $a
437 437
  * @param object $b
438 438
  *
439
- * @return array
439
+ * @return integer
440 440
  */
441 441
 function bigbluebuttonbn_recording_build_sorter($a, $b) {
442 442
     global $CFG;
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
  * @param string $data
551 551
  * @param string $contenttype
552 552
  *
553
- * @return object
553
+ * @return null|SimpleXMLElement
554 554
  */
555 555
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
556 556
     if (extension_loaded('curl')) {
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
  * @param string $data
592 592
  * @param string $contenttype
593 593
  *
594
- * @return object
594
+ * @return string
595 595
  */
596 596
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
597 597
     global $CFG;
@@ -1008,7 +1008,7 @@  discard block
 block discarded – undo
1008 1008
  * @param integer $instance
1009 1009
  * @param integer $voicebridge
1010 1010
  *
1011
- * @return string
1011
+ * @return boolean
1012 1012
  */
1013 1013
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) {
1014 1014
     global $DB;
@@ -1356,7 +1356,7 @@  discard block
 block discarded – undo
1356 1356
  * @param string $meetingid
1357 1357
  * @param string $configxml
1358 1358
  *
1359
- * @return object
1359
+ * @return null|SimpleXMLElement
1360 1360
  */
1361 1361
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1362 1362
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?';
@@ -1410,7 +1410,7 @@  discard block
 block discarded – undo
1410 1410
  * @param array $recording
1411 1411
  * @param array $tools
1412 1412
  *
1413
- * @return array
1413
+ * @return null|stdClass
1414 1414
  */
1415 1415
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1416 1416
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -1994,7 +1994,7 @@  discard block
 block discarded – undo
1994 1994
  *
1995 1995
  * @param array $bbbsession
1996 1996
  * @param array $recording
1997
- * @param object $rowdata
1997
+ * @param stdClass $rowdata
1998 1998
  *
1999 1999
  * @return object
2000 2000
  */
@@ -2224,7 +2224,7 @@  discard block
 block discarded – undo
2224 2224
  *
2225 2225
  * @param array $bbbsession
2226 2226
  * @param array $recordings
2227
- * @param array $tools
2227
+ * @param string[] $tools
2228 2228
  *
2229 2229
  * @return array
2230 2230
  */
@@ -2340,7 +2340,7 @@  discard block
 block discarded – undo
2340 2340
  * @param array $bbbsession
2341 2341
  * @param array $ocrecording
2342 2342
  *
2343
- * @return array
2343
+ * @return stdClass
2344 2344
  */
2345 2345
 function bigbluebuttonbn_get_opencast_recording_data_row($bbbsession, $ocrecording) {
2346 2346
     $rowdata = new stdClass();
@@ -2521,7 +2521,7 @@  discard block
 block discarded – undo
2521 2521
  *
2522 2522
  * @param array $bbbsession
2523 2523
  * @param object $ocrecording
2524
- * @param object $rowdata
2524
+ * @param stdClass $rowdata
2525 2525
  *
2526 2526
  * @return object
2527 2527
  */
@@ -2670,7 +2670,7 @@  discard block
 block discarded – undo
2670 2670
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2671 2671
  * in the getRecordings request considering only those that belong to deleted activities.
2672 2672
  *
2673
- * @param string $courseid
2673
+ * @param integer $courseid
2674 2674
  * @param string $bigbluebuttonbnid
2675 2675
  * @param bool   $subset
2676 2676
  *
@@ -2694,7 +2694,7 @@  discard block
 block discarded – undo
2694 2694
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2695 2695
  * in the getRecordings request considering only those that belong to imported recordings.
2696 2696
  *
2697
- * @param string $courseid
2697
+ * @param integer $courseid
2698 2698
  * @param string $bigbluebuttonbnid
2699 2699
  * @param bool   $subset
2700 2700
  *
@@ -2717,7 +2717,7 @@  discard block
 block discarded – undo
2717 2717
 /**
2718 2718
  * Helper function to get recordings and imported recordings together.
2719 2719
  *
2720
- * @param string $courseid
2720
+ * @param integer $courseid
2721 2721
  * @param string $bigbluebuttonbnid
2722 2722
  * @param bool   $subset
2723 2723
  * @param bool   $includedeleted
@@ -2735,7 +2735,7 @@  discard block
 block discarded – undo
2735 2735
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2736 2736
  * in bigbluebuttonbn_logs.
2737 2737
  *
2738
- * @param string $courseid
2738
+ * @param integer $courseid
2739 2739
  * @param string $bigbluebuttonbnid
2740 2740
  * @param bool   $subset
2741 2741
  * @param bool   $includedeleted
Please login to merge, or discard this patch.