Completed
Push — master ( 81f985...bcb26e )
by Jesus
17s queued 11s
created
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.
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) {
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
  *
311 311
  * @param object $bigbluebuttonbn Id of the module instance
312 312
  *
313
- * @return bool Success/Failure
313
+ * @return boolean|null Success/Failure
314 314
  */
315 315
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
316 316
     global $DB;
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
  * @param object $mod
332 332
  * @param object $bigbluebuttonbn
333 333
  *
334
- * @return bool
334
+ * @return string
335 335
  */
336 336
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
337 337
     if ($completed = bigbluebuttonbn_user_complete($course, $user, $bigbluebuttonbn)) {
@@ -917,7 +917,7 @@  discard block
 block discarded – undo
917 917
  * @param stdClass $context       context object
918 918
  * @param string   $filearea      file area
919 919
  *
920
- * @return false|null false if file not valid
920
+ * @return boolean false if file not valid
921 921
  */
922 922
 function bigbluebuttonbn_pluginfile_valid($context, $filearea) {
923 923
 
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;
@@ -977,7 +977,7 @@  discard block
 block discarded – undo
977 977
  * @param integer $instance
978 978
  * @param integer $voicebridge
979 979
  *
980
- * @return string
980
+ * @return boolean
981 981
  */
982 982
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) {
983 983
     global $DB;
@@ -1325,7 +1325,7 @@  discard block
 block discarded – undo
1325 1325
  * @param string $meetingid
1326 1326
  * @param string $configxml
1327 1327
  *
1328
- * @return object
1328
+ * @return null|SimpleXMLElement
1329 1329
  */
1330 1330
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1331 1331
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?';
@@ -1379,7 +1379,7 @@  discard block
 block discarded – undo
1379 1379
  * @param array $recording
1380 1380
  * @param array $tools
1381 1381
  *
1382
- * @return array
1382
+ * @return null|stdClass
1383 1383
  */
1384 1384
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1385 1385
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -2016,7 +2016,7 @@  discard block
 block discarded – undo
2016 2016
  *
2017 2017
  * @param array $bbbsession
2018 2018
  * @param array $recording
2019
- * @param object $rowdata
2019
+ * @param stdClass $rowdata
2020 2020
  *
2021 2021
  * @return object
2022 2022
  */
@@ -2211,7 +2211,7 @@  discard block
 block discarded – undo
2211 2211
  *
2212 2212
  * @param array $bbbsession
2213 2213
  * @param array $recordings
2214
- * @param array $tools
2214
+ * @param string[] $tools
2215 2215
  *
2216 2216
  * @return array
2217 2217
  */
@@ -2292,7 +2292,7 @@  discard block
 block discarded – undo
2292 2292
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2293 2293
  * in the getRecordings request considering only those that belong to deleted activities.
2294 2294
  *
2295
- * @param string $courseid
2295
+ * @param integer $courseid
2296 2296
  * @param string $bigbluebuttonbnid
2297 2297
  * @param bool   $subset
2298 2298
  *
@@ -2316,7 +2316,7 @@  discard block
 block discarded – undo
2316 2316
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2317 2317
  * in the getRecordings request considering only those that belong to imported recordings.
2318 2318
  *
2319
- * @param string $courseid
2319
+ * @param integer $courseid
2320 2320
  * @param string $bigbluebuttonbnid
2321 2321
  * @param bool   $subset
2322 2322
  *
@@ -2339,7 +2339,7 @@  discard block
 block discarded – undo
2339 2339
 /**
2340 2340
  * Helper function to get recordings and imported recordings together.
2341 2341
  *
2342
- * @param string $courseid
2342
+ * @param integer $courseid
2343 2343
  * @param string $bigbluebuttonbnid
2344 2344
  * @param bool   $subset
2345 2345
  * @param bool   $includedeleted
@@ -2357,7 +2357,7 @@  discard block
 block discarded – undo
2357 2357
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2358 2358
  * in bigbluebuttonbn_logs.
2359 2359
  *
2360
- * @param string $courseid
2360
+ * @param integer $courseid
2361 2361
  * @param string $bigbluebuttonbnid
2362 2362
  * @param bool   $subset
2363 2363
  * @param bool   $includedeleted
Please login to merge, or discard this patch.