Completed
Pull Request — 1.11.x (#1661)
by José
27:18
created
main/gradebook/lib/be/evaluation.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@  discard block
 block discarded – undo
120 120
 		return $this->created_at;
121 121
 	}
122 122
 
123
+	/**
124
+	 * @return string
125
+	 */
123 126
 	public function get_weight()
124 127
 	{
125 128
 		return $this->weight;
@@ -271,7 +274,7 @@  discard block
 block discarded – undo
271 274
 	}
272 275
 
273 276
 	/**
274
-	 * @param array $result
277
+	 * @param Doctrine\DBAL\Driver\Statement|null $result
275 278
 	 * @return array
276 279
 	 */
277 280
 	private static function create_evaluation_objects_from_sql_result($result)
Please login to merge, or discard this patch.
main/gradebook/lib/scoredisplay.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      * Formats a number depending of the number of decimals
278 278
      *
279 279
      * @param float $score
280
-     * @return float the score formatted
280
+     * @return boolean|string the score formatted
281 281
      */
282 282
     public function format_score($score)
283 283
     {
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
     /**
393 393
      * @param array $score
394
-     * @return float|string
394
+     * @return boolean|string
395 395
      */
396 396
     private function display_simple_score($score)
397 397
     {
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
     /**
405 405
      * Returns "1" for array("100", "100");
406 406
      * @param array $score
407
-     * @return float
407
+     * @return boolean|string
408 408
      */
409 409
     private function display_as_decimal($score)
410 410
     {
Please login to merge, or discard this patch.
main/exercise/export/exercise_import.inc.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1022,7 +1022,6 @@
 block discarded – undo
1022 1022
  * Processes an IMS/QTI manifest file: store links to new files
1023 1023
  * to be able to transform them into the questions text
1024 1024
  * @param string $filePath The absolute filepath
1025
- * @param array $links List of filepaths changes
1026 1025
  * @return bool
1027 1026
  */
1028 1027
 function qtiProcessManifest($filePath)
Please login to merge, or discard this patch.
main/inc/lib/formvalidator/FormValidator.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -910,7 +910,7 @@  discard block
 block discarded – undo
910 910
     /**
911 911
      * This function has been created for avoiding changes directly within QuickForm class.
912 912
      * When we use it, the element is threated as 'required' to be dealt during validation.
913
-     * @param array $element The array of elements
913
+     * @param array $elements The array of elements
914 914
      * @param string $message The message displayed
915 915
      */
916 916
     public function add_multiple_required_rule($elements, $message)
@@ -1186,12 +1186,12 @@  discard block
 block discarded – undo
1186 1186
     }
1187 1187
 
1188 1188
     /**
1189
-     * @param $name
1189
+     * @param string $name
1190 1190
      * @param $label
1191 1191
      * @param bool $required
1192 1192
      * @param array $attributes
1193 1193
      * @param bool $allowNegative
1194
-     * @param null $minValue
1194
+     * @param integer $minValue
1195 1195
      * @param null $maxValue
1196 1196
      */
1197 1197
     public function addFloat(
Please login to merge, or discard this patch.