Completed
Push — v2.3-stable ( a8b21b...d3f2b9 )
by Jesus
02:05
created
lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
  * @uses FEATURE_GRADE_OUTCOMES
102 102
  * @uses FEATURE_SHOW_DESCRIPTION
103 103
  * @param string $feature
104
- * @return mixed True if yes (some features may use other values)
104
+ * @return null|boolean True if yes (some features may use other values)
105 105
  */
106 106
 function bigbluebuttonbn_supports($feature) {
107 107
     if (!$feature) {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
  *
221 221
  * @param object $bigbluebuttonbn Id of the module instance
222 222
  *
223
- * @return bool Success/Failure
223
+ * @return boolean|null Success/Failure
224 224
  */
225 225
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
226 226
     global $DB;
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
  * @param object $mod
242 242
  * @param object $bigbluebuttonbn
243 243
  *
244
- * @return bool
244
+ * @return string
245 245
  */
246 246
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
247 247
     if ($completed = bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn)) {
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
  * @param stdClass $context       context object
784 784
  * @param string   $filearea      file area
785 785
  *
786
- * @return false|null false if file not valid
786
+ * @return boolean false if file not valid
787 787
  */
788 788
 function bigbluebuttonbn_pluginfile_valid($context, $filearea) {
789 789
 
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
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
  * Helper function to retrieve imported recordings from the Moodle database.
297 297
  * The references are stored as events in bigbluebuttonbn_logs.
298 298
  *
299
- * @param string $courseid
299
+ * @param integer $courseid
300 300
  * @param string $bigbluebuttonbnid
301 301
  * @param bool   $subset
302 302
  *
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 /**
325 325
  * Helper function to retrive the default config.xml file.
326 326
  *
327
- * @return string
327
+ * @return null|SimpleXMLElement
328 328
  */
329 329
 function bigbluebuttonbn_get_default_config_xml() {
330 330
     $xml = bigbluebuttonbn_wrap_xml_load_file(
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
  * @param object $a
407 407
  * @param object $b
408 408
  *
409
- * @return array
409
+ * @return integer
410 410
  */
411 411
 function bigbluebuttonbn_recording_build_sorter($a, $b) {
412 412
     global $CFG;
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
  * @param string $data
521 521
  * @param string $contenttype
522 522
  *
523
- * @return object
523
+ * @return null|SimpleXMLElement
524 524
  */
525 525
 function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
526 526
     if (extension_loaded('curl')) {
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
  * @param string $data
562 562
  * @param string $contenttype
563 563
  *
564
- * @return object
564
+ * @return string
565 565
  */
566 566
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') {
567 567
     global $CFG;
@@ -956,7 +956,7 @@  discard block
 block discarded – undo
956 956
  * @param integer $instance
957 957
  * @param integer $voicebridge
958 958
  *
959
- * @return string
959
+ * @return boolean
960 960
  */
961 961
 function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) {
962 962
     global $DB;
@@ -1279,7 +1279,7 @@  discard block
 block discarded – undo
1279 1279
  * @param string $meetingid
1280 1280
  * @param string $configxml
1281 1281
  *
1282
- * @return object
1282
+ * @return null|SimpleXMLElement
1283 1283
  */
1284 1284
 function bigbluebuttonbn_set_config_xml($meetingid, $configxml) {
1285 1285
     $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?';
@@ -1328,7 +1328,7 @@  discard block
 block discarded – undo
1328 1328
  * @param array $recording
1329 1329
  * @param array $tools
1330 1330
  *
1331
- * @return array
1331
+ * @return null|stdClass
1332 1332
  */
1333 1333
 function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) {
1334 1334
     if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) {
@@ -1962,7 +1962,7 @@  discard block
 block discarded – undo
1962 1962
  *
1963 1963
  * @param array $bbbsession
1964 1964
  * @param array $recording
1965
- * @param object $rowdata
1965
+ * @param stdClass $rowdata
1966 1966
  *
1967 1967
  * @return object
1968 1968
  */
@@ -2080,7 +2080,7 @@  discard block
 block discarded – undo
2080 2080
  *
2081 2081
  * @param array $bbbsession
2082 2082
  * @param array $recordings
2083
- * @param array $tools
2083
+ * @param string[] $tools
2084 2084
  *
2085 2085
  * @return array
2086 2086
  */
@@ -2158,7 +2158,7 @@  discard block
 block discarded – undo
2158 2158
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2159 2159
  * in the getRecordings request considering only those that belong to deleted activities.
2160 2160
  *
2161
- * @param string $courseid
2161
+ * @param integer $courseid
2162 2162
  * @param string $bigbluebuttonbnid
2163 2163
  * @param bool   $subset
2164 2164
  *
@@ -2182,7 +2182,7 @@  discard block
 block discarded – undo
2182 2182
  * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included
2183 2183
  * in the getRecordings request considering only those that belong to imported recordings.
2184 2184
  *
2185
- * @param string $courseid
2185
+ * @param integer $courseid
2186 2186
  * @param string $bigbluebuttonbnid
2187 2187
  * @param bool   $subset
2188 2188
  *
@@ -2205,7 +2205,7 @@  discard block
 block discarded – undo
2205 2205
 /**
2206 2206
  * Helper function to get recordings and imported recordings together.
2207 2207
  *
2208
- * @param string $courseid
2208
+ * @param integer $courseid
2209 2209
  * @param string $bigbluebuttonbnid
2210 2210
  * @param bool   $subset
2211 2211
  * @param bool   $includedeleted
@@ -2223,7 +2223,7 @@  discard block
 block discarded – undo
2223 2223
  * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events
2224 2224
  * in bigbluebuttonbn_logs.
2225 2225
  *
2226
- * @param string $courseid
2226
+ * @param integer $courseid
2227 2227
  * @param string $bigbluebuttonbnid
2228 2228
  * @param bool   $subset
2229 2229
  * @param bool   $includedeleted
Please login to merge, or discard this patch.