Completed
Pull Request — 1.11.x (#1285)
by José
43:07
created
main/inc/lib/MoodleImport.lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      * Read and validate the quiz module XML
300 300
      *
301 301
      * @param resource $moduleXml XML file
302
-     * @return mixed | array if is a valid xml file, false otherwise
302
+     * @return string | array if is a valid xml file, false otherwise
303 303
      */
304 304
     public function readQuizModule($moduleXml)
305 305
     {
@@ -514,8 +514,8 @@  discard block
 block discarded – undo
514 514
     /**
515 515
      * Process Chamilo Unique Answer
516 516
      *
517
-     * @param object $objAnswer
518
-     * @param object $questionInstance
517
+     * @param Answer $objAnswer
518
+     * @param Question $questionInstance
519 519
      * @param array $answerValues
520 520
      * @param integer $position
521 521
      * @return integer db response
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
      * Litle utility to delete the unuseful tags
558 558
      *
559 559
      * @param $array
560
-     * @param $keys
560
+     * @param string[] $keys
561 561
      */
562 562
     public function traverseArray(&$array, $keys) {
563 563
         foreach ($array as $key => &$value) {
Please login to merge, or discard this patch.