Completed
Pull Request — master (#178)
by
unknown
02:17
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.
locallib.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
  * Helper function to retrieve imported recordings from the Moodle database.
307 307
  * The references are stored as events in bigbluebuttonbn_logs.
308 308
  *
309
- * @param string $courseid
309
+ * @param integer $courseid
310 310
  * @param string $bigbluebuttonbnid
311 311
  * @param bool   $subset
312 312
  *
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 /**
335 335
  * Helper function to retrive the default config.xml file.
336 336
  *
337
- * @return string
337
+ * @return null|SimpleXMLElement
338 338
  */
339 339
 function bigbluebuttonbn_get_default_config_xml() {
340 340
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
  * @param object $a
417 417
  * @param object $b
418 418
  *
419
- * @return array
419
+ * @return integer
420 420
  */
421 421
 function bigbluebuttonbn_recording_build_sorter($a, $b) {
422 422
     global $CFG;
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
  * @param string $data
531 531
  * @param string $contenttype
532 532
  *
533
- * @return object
533
+ * @return null|SimpleXMLElement
534 534
  */
535 535
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
536 536
     if (extension_loaded('curl')) {
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
  * @param string $data
572 572
  * @param string $contenttype
573 573
  *
574
- * @return object
574
+ * @return string
575 575
  */
576 576
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
577 577
     $c = new curl();
@@ -944,7 +944,7 @@  discard block
 block discarded – undo
944 944
  * @param integer $instance
945 945
  * @param integer $voicebridge
946 946
  *
947
- * @return string
947
+ * @return boolean
948 948
  */
949 949
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) {
950 950
     global $DB;
@@ -1292,7 +1292,7 @@  discard block
 block discarded – undo
1292 1292
  * @param string $meetingid
1293 1293
  * @param string $configxml
1294 1294
  *
1295
- * @return object
1295
+ * @return null|SimpleXMLElement
1296 1296
  */
1297 1297
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1298 1298
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?';
@@ -1346,7 +1346,7 @@  discard block
 block discarded – undo
1346 1346
  * @param array $recording
1347 1347
  * @param array $tools
1348 1348
  *
1349
- * @return array
1349
+ * @return null|stdClass
1350 1350
  */
1351 1351
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1352 1352
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -1981,7 +1981,7 @@  discard block
 block discarded – undo
1981 1981
  *
1982 1982
  * @param array $bbbsession
1983 1983
  * @param array $recording
1984
- * @param object $rowdata
1984
+ * @param stdClass $rowdata
1985 1985
  *
1986 1986
  * @return object
1987 1987
  */
@@ -2176,7 +2176,7 @@  discard block
 block discarded – undo
2176 2176
  *
2177 2177
  * @param array $bbbsession
2178 2178
  * @param array $recordings
2179
- * @param array $tools
2179
+ * @param string[] $tools
2180 2180
  *
2181 2181
  * @return array
2182 2182
  */
@@ -2257,7 +2257,7 @@  discard block
 block discarded – undo
2257 2257
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2258 2258
  * in the getRecordings request considering only those that belong to deleted activities.
2259 2259
  *
2260
- * @param string $courseid
2260
+ * @param integer $courseid
2261 2261
  * @param string $bigbluebuttonbnid
2262 2262
  * @param bool   $subset
2263 2263
  *
@@ -2281,7 +2281,7 @@  discard block
 block discarded – undo
2281 2281
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2282 2282
  * in the getRecordings request considering only those that belong to imported recordings.
2283 2283
  *
2284
- * @param string $courseid
2284
+ * @param integer $courseid
2285 2285
  * @param string $bigbluebuttonbnid
2286 2286
  * @param bool   $subset
2287 2287
  *
@@ -2304,7 +2304,7 @@  discard block
 block discarded – undo
2304 2304
 /**
2305 2305
  * Helper function to get recordings and imported recordings together.
2306 2306
  *
2307
- * @param string $courseid
2307
+ * @param integer $courseid
2308 2308
  * @param string $bigbluebuttonbnid
2309 2309
  * @param bool   $subset
2310 2310
  * @param bool   $includedeleted
@@ -2322,7 +2322,7 @@  discard block
 block discarded – undo
2322 2322
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2323 2323
  * in bigbluebuttonbn_logs.
2324 2324
  *
2325
- * @param string $courseid
2325
+ * @param integer $courseid
2326 2326
  * @param string $bigbluebuttonbnid
2327 2327
  * @param bool   $subset
2328 2328
  * @param bool   $includedeleted
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.