Passed
Push — 1.10.x ( 55c17b...cec016 )
by Angel Fernando Quiroz
249:43 queued 200:32
created
main/gradebook/lib/user_data_generator.class.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,6 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
 	/**
74 74
 	 * Get actual array data
75
+	 * @param integer $count
75 76
 	 * @return array 2-dimensional array - each array contains the elements:
76 77
 	 * 0: eval/link object
77 78
 	 * 1: item name
@@ -285,7 +286,7 @@  discard block
 block discarded – undo
285 286
 
286 287
 	/**
287 288
 	 * @param $item
288
-	 * @param $ignore_score_color
289
+	 * @param boolean $ignore_score_color
289 290
 	 * @return string
290 291
 	 */
291 292
 	private function build_average_column($item, $ignore_score_color)
@@ -306,7 +307,7 @@  discard block
 block discarded – undo
306 307
 
307 308
 	/**
308 309
 	 * @param $item
309
-	 * @param $ignore_score_color
310
+	 * @param boolean $ignore_score_color
310 311
 	 * @return string
311 312
 	 */
312 313
 	private function build_result_column($item, $ignore_score_color)
@@ -323,7 +324,7 @@  discard block
 block discarded – undo
323 324
 
324 325
 	/**
325 326
 	 * @param $item
326
-	 * @param $ignore_score_color
327
+	 * @param boolean $ignore_score_color
327 328
 	 * @return string
328 329
 	 */
329 330
 	private function build_mask_column($item, $ignore_score_color)
@@ -339,7 +340,7 @@  discard block
 block discarded – undo
339 340
 
340 341
 	/**
341 342
 	 * @param $coursecode
342
-	 * @return mixed
343
+	 * @return string
343 344
 	 */
344 345
 	private function get_course_name_from_code_cached($coursecode)
345 346
 	{
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.
main/inc/lib/add_many_session_to_category_functions.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * Search for a session based on a given search string
18 18
      * @param string A search string
19 19
      * @param string A search box type (single or anything else)
20
-     * @return string XajaxResponse
20
+     * @return xajaxResponse XajaxResponse
21 21
      * @assert () !== ''
22 22
      * @assert ('abc','single') !== ''
23 23
      */
Please login to merge, or discard this patch.
main/inc/lib/AnnouncementEmail.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      *
18 18
      * @param int|array $course
19
-     * @param int|array $annoucement
19
+     * @param integer $announcement
20 20
      *
21 21
      * @return AnnouncementEmail
22 22
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @param string $key
52 52
      *
53
-     * @return array
53
+     * @return string|null
54 54
      */
55 55
     public function course($key = '')
56 56
     {
Please login to merge, or discard this patch.