Passed
Push — 1.10.x ( 88b3ac...12c7e7 )
by Angel Fernando Quiroz
46:55
created
main/exercice/TestCategory.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
 	 * Return the list of differents categories NAME for a test
368 368
 	 * @param int exercise id
369 369
 	 * @param bool
370
-	 * @return array of string
370
+	 * @return integer of string
371 371
 	 *
372 372
      * @author function rewrote by jmontoya
373 373
 	 */
@@ -983,7 +983,6 @@  discard block
 block discarded – undo
983 983
     /**
984 984
      * Return the id of the test category with title = $in_title
985 985
      * @param $in_title
986
-     * @param int $in_c_id
987 986
      *
988 987
      * @return int is id of test category
989 988
      */
@@ -1011,7 +1010,7 @@  discard block
 block discarded – undo
1011 1010
      * @param int $questionId
1012 1011
      * @param int $courseId
1013 1012
 	 *
1014
-	 * @return int
1013
+	 * @return string|false
1015 1014
      */
1016 1015
     public static function add_category_for_question_id($categoryId, $questionId, $courseId)
1017 1016
     {
Please login to merge, or discard this patch.