Completed
Push — master ( 041992...a5f3d4 )
by Jesus
02:43
created
lib.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  * $return->time = the time they did it
227 227
  * $return->info = a short text description.
228 228
  *
229
- * @return bool
229
+ * @return string
230 230
  */
231 231
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
232 232
     global $DB;
@@ -315,6 +315,9 @@  discard block
 block discarded – undo
315 315
     }
316 316
 }
317 317
 
318
+/**
319
+ * @param integer $now
320
+ */
318 321
 function bigbluebuttonbn_print_overview_element($bigbluebuttonbn, $now) {
319 322
     global $CFG;
320 323
 
@@ -550,6 +553,11 @@  discard block
 block discarded – undo
550 553
     send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security!
551 554
 }
552 555
 
556
+/**
557
+ * @param stdClass $course
558
+ * @param stdClass $cm
559
+ * @param stdClass $context
560
+ */
553 561
 function bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args) {
554 562
     global $DB;
555 563
 
@@ -644,6 +652,9 @@  discard block
 block discarded – undo
644 652
     bigbluebuttonbn_notification_send($USER, $bigbluebuttonbn, bigbluebuttonbn_notification_msg_html($msg));
645 653
 }
646 654
 
655
+/**
656
+ * @param stdClass $msg
657
+ */
647 658
 function bigbluebuttonbn_notification_msg_html($msg) {
648 659
     $messagetext = '<p>'.$msg->activity_type.' &quot;'.$msg->activity_title.'&quot; '.
649 660
         get_string('email_body_notification_meeting_has_been', 'bigbluebuttonbn').' '.$msg->action.'.</p>'."\n";
Please login to merge, or discard this patch.
vendor/firebase/php-jwt/src/JWT.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
      * Decodes a JWT string into a PHP object.
49 49
      *
50 50
      * @param string        $jwt            The JWT
51
-     * @param string|array  $key            The key, or map of keys.
51
+     * @param string  $key            The key, or map of keys.
52 52
      *                                      If the algorithm used is asymmetric, this is the public key
53
-     * @param array         $allowed_algs   List of supported verification algorithms
53
+     * @param string[]         $allowed_algs   List of supported verification algorithms
54 54
      *                                      Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
55 55
      *
56 56
      * @return object The JWT's payload as a PHP object
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * Sign a string with a given key and algorithm.
175 175
      *
176 176
      * @param string            $msg    The message to sign
177
-     * @param string|resource   $key    The secret key
177
+     * @param string   $key    The secret key
178 178
      * @param string            $alg    The signing algorithm.
179 179
      *                                  Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
180 180
      *
Please login to merge, or discard this patch.