Completed
Push — master ( a610a3...20d163 )
by Jesus
02:01
created
lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
classes/locallib/notifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      *
112 112
      * @param object $bigbluebuttonbn
113 113
      *
114
-     * @return void
114
+     * @return string
115 115
      */
116 116
     public static function htmlmsg_recording_ready($bigbluebuttonbn) {
117 117
         return '<p>'.get_string('email_body_recording_ready_for', 'bigbluebuttonbn').
Please login to merge, or discard this patch.
classes/privacy/provider.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@  discard block
 block discarded – undo
54 54
          * Get the list of users who have data within a context.
55 55
          *
56 56
          * @param   userlist $userlist The userlist containing the list of users who have data in this context/plugin combination.
57
+         * @return void
57 58
          */
58 59
         public static function get_users_in_context(userlist $userlist);
59 60
 
@@ -61,6 +62,7 @@  discard block
 block discarded – undo
61 62
          * Delete multiple users within a single context.
62 63
          *
63 64
          * @param   approved_userlist       $userlist The approved context and user information to delete information for.
65
+         * @return void
64 66
          */
65 67
         public static function delete_data_for_users(approved_userlist $userlist);
66 68
     }
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
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
  * Helper function to retrieve imported recordings from the Moodle database.
318 318
  * The references are stored as events in bigbluebuttonbn_logs.
319 319
  *
320
- * @param string $courseid
320
+ * @param integer $courseid
321 321
  * @param string $bigbluebuttonbnid
322 322
  * @param bool   $subset
323 323
  *
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
 /**
346 346
  * Helper function to retrive the default config.xml file.
347 347
  *
348
- * @return string
348
+ * @return null|SimpleXMLElement
349 349
  */
350 350
 function bigbluebuttonbn_get_default_config_xml() {
351 351
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
  * @param object $a
428 428
  * @param object $b
429 429
  *
430
- * @return array
430
+ * @return integer
431 431
  */
432 432
 function bigbluebuttonbn_recording_build_sorter($a, $b) {
433 433
     global $CFG;
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
  * @param string $data
542 542
  * @param string $contenttype
543 543
  *
544
- * @return object
544
+ * @return null|SimpleXMLElement
545 545
  */
546 546
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
547 547
     if (extension_loaded('curl')) {
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
  * @param string $data
583 583
  * @param string $contenttype
584 584
  *
585
- * @return object
585
+ * @return string
586 586
  */
587 587
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
588 588
     global $CFG;
@@ -974,7 +974,7 @@  discard block
 block discarded – undo
974 974
  * @param integer $instance
975 975
  * @param integer $voicebridge
976 976
  *
977
- * @return string
977
+ * @return boolean
978 978
  */
979 979
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) {
980 980
     global $DB;
@@ -1322,7 +1322,7 @@  discard block
 block discarded – undo
1322 1322
  * @param string $meetingid
1323 1323
  * @param string $configxml
1324 1324
  *
1325
- * @return object
1325
+ * @return null|SimpleXMLElement
1326 1326
  */
1327 1327
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1328 1328
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?';
@@ -1376,7 +1376,7 @@  discard block
 block discarded – undo
1376 1376
  * @param array $recording
1377 1377
  * @param array $tools
1378 1378
  *
1379
- * @return array
1379
+ * @return null|stdClass
1380 1380
  */
1381 1381
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1382 1382
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -2018,7 +2018,7 @@  discard block
 block discarded – undo
2018 2018
  *
2019 2019
  * @param array $bbbsession
2020 2020
  * @param array $recording
2021
- * @param object $rowdata
2021
+ * @param stdClass $rowdata
2022 2022
  *
2023 2023
  * @return object
2024 2024
  */
@@ -2215,7 +2215,7 @@  discard block
 block discarded – undo
2215 2215
  *
2216 2216
  * @param array $bbbsession
2217 2217
  * @param array $recordings
2218
- * @param array $tools
2218
+ * @param string[] $tools
2219 2219
  *
2220 2220
  * @return array
2221 2221
  */
@@ -2296,7 +2296,7 @@  discard block
 block discarded – undo
2296 2296
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2297 2297
  * in the getRecordings request considering only those that belong to deleted activities.
2298 2298
  *
2299
- * @param string $courseid
2299
+ * @param integer $courseid
2300 2300
  * @param string $bigbluebuttonbnid
2301 2301
  * @param bool   $subset
2302 2302
  *
@@ -2320,7 +2320,7 @@  discard block
 block discarded – undo
2320 2320
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2321 2321
  * in the getRecordings request considering only those that belong to imported recordings.
2322 2322
  *
2323
- * @param string $courseid
2323
+ * @param integer $courseid
2324 2324
  * @param string $bigbluebuttonbnid
2325 2325
  * @param bool   $subset
2326 2326
  *
@@ -2343,7 +2343,7 @@  discard block
 block discarded – undo
2343 2343
 /**
2344 2344
  * Helper function to get recordings and imported recordings together.
2345 2345
  *
2346
- * @param string $courseid
2346
+ * @param integer $courseid
2347 2347
  * @param string $bigbluebuttonbnid
2348 2348
  * @param bool   $subset
2349 2349
  * @param bool   $includedeleted
@@ -2361,7 +2361,7 @@  discard block
 block discarded – undo
2361 2361
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2362 2362
  * in bigbluebuttonbn_logs.
2363 2363
  *
2364
- * @param string $courseid
2364
+ * @param integer $courseid
2365 2365
  * @param string $bigbluebuttonbnid
2366 2366
  * @param bool   $subset
2367 2367
  * @param bool   $includedeleted
Please login to merge, or discard this patch.