Test Setup Failed
Push — master ( 2809dd...f840ca )
by Angel Fernando Quiroz
554:33 queued 492:39
created
main/gradebook/lib/gradebook_result.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * Exports the complete report as an XLS file
79
-     * @return	boolean		False on error
79
+     * @return	boolean|null		False on error
80 80
      */
81 81
     public function exportCompleteReportXLS($data)
82 82
     {
Please login to merge, or discard this patch.
main/gradebook/lib/GradebookUtils.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@  discard block
 block discarded – undo
19 19
      * @param   int     Visibility (0 hidden, 1 shown)
20 20
      * @param   int     Session ID (optional or 0 if not defined)
21 21
      * @param   int
22
+     * @param integer $resource_type
22 23
      * @return  boolean True on success, false on failure
23 24
      */
24 25
     public static function add_resource_to_course_gradebook(
@@ -117,7 +118,6 @@  discard block
 block discarded – undo
117 118
 
118 119
     /**
119 120
      * Builds an img tag for a gradebook item
120
-     * @param string $type value returned by a gradebookitem's get_icon_name()
121 121
      */
122 122
     public static function build_type_icon_tag($kind, $attributes = array())
123 123
     {
@@ -382,6 +382,7 @@  discard block
 block discarded – undo
382 382
      * @param    int     Resource type (use constants defined in linkfactory.class.php)
383 383
      * @param    int     Resource ID in the corresponding tool
384 384
      * @param    int     Session ID (optional -  0 if not defined)
385
+     * @param integer $resource_type
385 386
      * @return   int     false on error or array of resource
386 387
      */
387 388
     public static function is_resource_in_course_gradebook($course_code, $resource_type, $resource_id, $session_id = 0)
@@ -579,6 +580,9 @@  discard block
 block discarded – undo
579 580
      * @param int The user id
580 581
      * @param float The score obtained for certified
581 582
      * @param Datetime The date when you obtained the certificate
583
+     * @param integer $cat_id
584
+     * @param integer $user_id
585
+     * @param string $date_certificate
582 586
      * @return void()
583 587
      */
584 588
     public static function register_user_info_about_certificate($cat_id, $user_id, $score_certificate, $date_certificate)
@@ -955,7 +959,7 @@  discard block
 block discarded – undo
955 959
     }
956 960
 
957 961
     /**
958
-     * @param array $list_values
962
+     * @param string[] $list_values
959 963
      * @return string
960 964
      */
961 965
     public static function score_badges($list_values)
@@ -1015,7 +1019,7 @@  discard block
 block discarded – undo
1015 1019
     }
1016 1020
 
1017 1021
     /**
1018
-     * @param $result
1022
+     * @param Doctrine\DBAL\Driver\Statement|null $result
1019 1023
      * @return array
1020 1024
      */
1021 1025
     public static function get_user_array_from_sql_result($result)
Please login to merge, or discard this patch.
main/gradebook/lib/scoredisplay.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
     /**
234 234
      * @param int $category_id
235
-     * @return bool
235
+     * @return false|null
236 236
      */
237 237
     public function insert_defaults($category_id)
238 238
     {
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-     * @return int|null|string
266
+     * @return integer
267 267
      */
268 268
     public function get_number_decimals()
269 269
     {
@@ -337,8 +337,8 @@  discard block
 block discarded – undo
337 337
 
338 338
     /**
339 339
      * @param $score
340
-     * @param $type
341
-     * @return float|string
340
+     * @param integer $type
341
+     * @return string
342 342
      */
343 343
     private function display_default($score, $type)
344 344
     {
Please login to merge, or discard this patch.
main/group/group_space.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -471,7 +471,7 @@
 block discarded – undo
471 471
  * Display a user icon that links to the user page
472 472
  *
473 473
  * @param integer $user_id the id of the user
474
- * @return html code
474
+ * @return string code
475 475
  *
476 476
  * @author Patrick Cool <[email protected]>, Ghent University, Belgium
477 477
  * @version April 2008
Please login to merge, or discard this patch.
main/inc/ajax/admin.ajax.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -189,6 +189,8 @@
 block discarded – undo
189 189
  * @param float  Timeout
190 190
  * @param bool   Include HTTP Request headers?
191 191
  * @param bool   Include HTTP Response headers?
192
+ * @param string $ip
193
+ * @return string
192 194
  */
193 195
 function _http_request($ip, $port = 80, $uri = '/', $getdata = array(), $timeout = 5, $req_hdr = false, $res_hdr = false)
194 196
 {
Please login to merge, or discard this patch.
main/inc/lib/access_url_edit_courses_to_url_functions.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * a given string
23 23
      * @param string String to search for
24 24
      * @param int Deprecated param
25
-     * @return string A formatted, xajax answer block
25
+     * @return xajaxResponse A formatted, xajax answer block
26 26
      * @assert () === false
27 27
      */
28 28
     function search_courses($needle, $id)
Please login to merge, or discard this patch.
main/inc/lib/access_url_edit_users_to_url_functions.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * search string
24 24
      * @param string Search string
25 25
      * @param int Deprecated param
26
-     * @return string Xajax response block
26
+     * @return xajaxResponse Xajax response block
27 27
      * @assert () === false
28 28
      */
29 29
     function search_users($needle, $id)
Please login to merge, or discard this patch.
main/inc/lib/add_course.lib.inc.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
 
190 190
     /**
191 191
      * Gets an array with all the course tables (deprecated?)
192
-     * @return array
192
+     * @return string[]
193 193
      * @assert (null) !== null
194 194
      */
195 195
     public static function get_course_tables()
@@ -310,6 +310,8 @@  discard block
 block discarded – undo
310 310
      * @param string Complete path to directory we want to list
311 311
      * @param array A list of files to which we want to add the files found
312 312
      * @param string Type of base directory from which we want to recover the files
313
+     * @param string $path
314
+     * @param string $media
313 315
      * @return array
314 316
      * @assert (null,null,null) === false
315 317
      * @assert ('abc',array(),'') === array()
@@ -371,6 +373,7 @@  discard block
 block discarded – undo
371 373
      * Sorts pictures by type (used?)
372 374
      * @param array List of files (sthg like array(0=>array('png'=>1)))
373 375
      * @param string File type
376
+     * @param string $type
374 377
      * @return array The received array without files not matching type
375 378
      * @assert (array(),null) === array()
376 379
      */
Please login to merge, or discard this patch.
main/inc/lib/add_courses_to_session_functions.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	 * Searches a course, given a search string and a type of search box
11 11
 	 * @param string $needle Search string
12 12
 	 * @param string $type Type of search box ('single' or anything else)
13
-	 * @return string XajaxResponse
13
+	 * @return xajaxResponse XajaxResponse
14 14
 	 * @assert ('abc', 'single') !== null
15 15
 	 * @assert ('abc', 'multiple') !== null
16 16
 	 */
Please login to merge, or discard this patch.