Completed
Push — 1.10.x ( d467f0...2137a4 )
by Julito
164:57 queued 122:53
created
main/inc/lib/course.lib.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2240,7 +2240,7 @@  discard block
 block discarded – undo
2240 2240
 
2241 2241
     /**
2242 2242
      * Creates a file called mysql_dump.sql in the course folder
2243
-     * @param $course_code The code of the course
2243
+     * @param string $course_code The code of the course
2244 2244
      * @todo Implementation for single database
2245 2245
      */
2246 2246
     public static function create_database_dump($course_code)
@@ -2966,6 +2966,7 @@  discard block
 block discarded – undo
2966 2966
      * @param int $limit
2967 2967
      * @param string $column
2968 2968
      * @param string $direction
2969
+     * @param integer $status
2969 2970
      * @return array    courses
2970 2971
      */
2971 2972
     public static function get_courses_followed_by_drh(
Please login to merge, or discard this patch.
main/inc/lib/api.lib.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1359,6 +1359,7 @@  discard block
 block discarded – undo
1359 1359
  * Gets the list of courses a specific user is subscribed to
1360 1360
  * @param int       User ID
1361 1361
  * @param boolean   $fetch_session Whether to get session courses or not - NOT YET IMPLEMENTED
1362
+ * @param integer $userid
1362 1363
  * @return array    Array of courses in the form [0]=>('code'=>xxx,'db'=>xxx,'dir'=>xxx,'status'=>d)
1363 1364
  */
1364 1365
 function api_get_user_courses($userid, $fetch_session = true)
@@ -5354,7 +5355,7 @@  discard block
 block discarded – undo
5354 5355
  * Gets the access url info in an array
5355 5356
  * @param int $id Id of the access url
5356 5357
  * @param bool $returnDefault Set to false if you want the real URL if URL 1 is still 'http://localhost/'
5357
- * @return array All the info (url, description, active, created_by, tms)
5358
+ * @return string All the info (url, description, active, created_by, tms)
5358 5359
  * from the access_url table
5359 5360
  * @author Julio Montoya
5360 5361
  */
@@ -6803,7 +6804,7 @@  discard block
 block discarded – undo
6803 6804
 /**
6804 6805
  * Returns an array of global configuration settings which should be ignored
6805 6806
  * when printing the configuration settings screens
6806
- * @return array Array of strings, each identifying one of the excluded settings
6807
+ * @return string[] Array of strings, each identifying one of the excluded settings
6807 6808
  */
6808 6809
 function api_get_locked_settings() {
6809 6810
     return array(
@@ -6846,6 +6847,7 @@  discard block
 block discarded – undo
6846 6847
  * false if he isn't. If the user ID is given and is an integer, then the same
6847 6848
  * ID is simply returned
6848 6849
  * @param  integer User ID
6850
+ * @param integer $user_id
6849 6851
  * @return boolean Integer User ID is logged in, or false otherwise
6850 6852
  */
6851 6853
 function api_user_is_login($user_id = null) {
@@ -7290,6 +7292,7 @@  discard block
 block discarded – undo
7290 7292
 /**
7291 7293
  * Gets memory limit in bytes
7292 7294
  * @param string The memory size (128M, 1G, 1000K, etc)
7295
+ * @param string $mem
7293 7296
  * @return int
7294 7297
  * @assert (null) === false
7295 7298
  * @assert ('1t')  === 1099511627776
@@ -8201,7 +8204,7 @@  discard block
 block discarded – undo
8201 8204
 /**
8202 8205
  * Like strip_tags(), but leaves an additional space and removes only the given tags
8203 8206
  * @param string $string
8204
- * @param array $tags Tags to be removed
8207
+ * @param string[] $tags Tags to be removed
8205 8208
  * @return  string The original string without the given tags
8206 8209
  */
8207 8210
 function stripGivenTags($string, $tags) {
Please login to merge, or discard this patch.
plugin/bbb/lib/bbb.lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * Save a participant in a meeting room
280 280
      * @param int $meetingId
281 281
      * @param int $participantId
282
-     * @return false|int The last inserted ID. Otherwise return false
282
+     * @return false|string The last inserted ID. Otherwise return false
283 283
      */
284 284
     public function saveParticipant($meetingId, $participantId)
285 285
     {
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
     /**
353 353
      * Returns a meeting "join" URL
354 354
      * @param string The name of the meeting (usually the course code)
355
-     * @return mixed The URL to join the meeting, or false on error
355
+     * @return false|string The URL to join the meeting, or false on error
356 356
      * @todo implement moderator pass
357 357
      * @assert ('') === false
358 358
      * @assert ('abcdefghijklmnopqrstuvwxyzabcdefghijklmno') === false
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      * Closes a meeting (usually when the user click on the close button from
661 661
      * the conferences listing.
662 662
      * @param string The internal ID of the meeting (id field for this meeting)
663
-     * @return void
663
+     * @return false|null
664 664
      * @assert (0) === false
665 665
      */
666 666
     public function endMeeting($id)
@@ -1077,7 +1077,7 @@  discard block
 block discarded – undo
1077 1077
      * @param array $recordInfo
1078 1078
      * @param bool $isGlobal
1079 1079
      * @param bool $isAdminReport
1080
-     * @return array
1080
+     * @return string[]
1081 1081
      */
1082 1082
     private function getActionLinks($meetingInfo, $recordInfo, $isGlobal = false, $isAdminReport = false)
1083 1083
     {
Please login to merge, or discard this patch.