Completed
Pull Request — master (#164)
by Jesus
02:08
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.
locallib.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
  * Helper function to retrieve imported recordings from the Moodle database.
313 313
  * The references are stored as events in bigbluebuttonbn_logs.
314 314
  *
315
- * @param string $courseid
315
+ * @param integer $courseid
316 316
  * @param string $bigbluebuttonbnid
317 317
  * @param bool   $subset
318 318
  *
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 /**
342 342
  * Helper function to retrive the default config.xml file.
343 343
  *
344
- * @return string
344
+ * @return null|SimpleXMLElement
345 345
  */
346 346
 function bigbluebuttonbn_get_default_config_xml()
347 347
 {
@@ -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
 {
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
  * @param string $data
548 548
  * @param string $contenttype
549 549
  *
550
- * @return object
550
+ * @return null|SimpleXMLElement
551 551
  */
552 552
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml')
553 553
 {
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
  * @param string $data
590 590
  * @param string $contenttype
591 591
  *
592
- * @return object
592
+ * @return string
593 593
  */
594 594
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml')
595 595
 {
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
  * @param integer $instance
981 981
  * @param integer $voicebridge
982 982
  *
983
- * @return string
983
+ * @return boolean
984 984
  */
985 985
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge)
986 986
 {
@@ -1342,7 +1342,7 @@  discard block
 block discarded – undo
1342 1342
  * @param string $meetingid
1343 1343
  * @param string $configxml
1344 1344
  *
1345
- * @return object
1345
+ * @return null|SimpleXMLElement
1346 1346
  */
1347 1347
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml)
1348 1348
 {
@@ -1398,7 +1398,7 @@  discard block
 block discarded – undo
1398 1398
  * @param array $recording
1399 1399
  * @param array $tools
1400 1400
  *
1401
- * @return array
1401
+ * @return null|stdClass
1402 1402
  */
1403 1403
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete'])
1404 1404
 {
@@ -2045,7 +2045,7 @@  discard block
 block discarded – undo
2045 2045
  *
2046 2046
  * @param array $bbbsession
2047 2047
  * @param array $recording
2048
- * @param object $rowdata
2048
+ * @param stdClass $rowdata
2049 2049
  *
2050 2050
  * @return object
2051 2051
  */
@@ -2240,7 +2240,7 @@  discard block
 block discarded – undo
2240 2240
  *
2241 2241
  * @param array $bbbsession
2242 2242
  * @param array $recordings
2243
- * @param array $tools
2243
+ * @param string[] $tools
2244 2244
  *
2245 2245
  * @return array
2246 2246
  */
@@ -2321,7 +2321,7 @@  discard block
 block discarded – undo
2321 2321
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2322 2322
  * in the getRecordings request considering only those that belong to deleted activities.
2323 2323
  *
2324
- * @param string $courseid
2324
+ * @param integer $courseid
2325 2325
  * @param string $bigbluebuttonbnid
2326 2326
  * @param bool   $subset
2327 2327
  *
@@ -2345,7 +2345,7 @@  discard block
 block discarded – undo
2345 2345
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2346 2346
  * in the getRecordings request considering only those that belong to imported recordings.
2347 2347
  *
2348
- * @param string $courseid
2348
+ * @param integer $courseid
2349 2349
  * @param string $bigbluebuttonbnid
2350 2350
  * @param bool   $subset
2351 2351
  *
@@ -2368,7 +2368,7 @@  discard block
 block discarded – undo
2368 2368
 /**
2369 2369
  * Helper function to get recordings and imported recordings together.
2370 2370
  *
2371
- * @param string $courseid
2371
+ * @param integer $courseid
2372 2372
  * @param string $bigbluebuttonbnid
2373 2373
  * @param bool   $subset
2374 2374
  * @param bool   $includedeleted
@@ -2386,7 +2386,7 @@  discard block
 block discarded – undo
2386 2386
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2387 2387
  * in bigbluebuttonbn_logs.
2388 2388
  *
2389
- * @param string $courseid
2389
+ * @param integer $courseid
2390 2390
  * @param string $bigbluebuttonbnid
2391 2391
  * @param bool   $subset
2392 2392
  * @param bool   $includedeleted
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.