@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * Read and validate the quiz module XML |
317 | 317 | * |
318 | 318 | * @param resource $moduleXml XML file |
319 | - * @return mixed | array if is a valid xml file, false otherwise |
|
319 | + * @return string | array if is a valid xml file, false otherwise |
|
320 | 320 | */ |
321 | 321 | public function readQuizModule($moduleXml) |
322 | 322 | { |
@@ -535,9 +535,9 @@ discard block |
||
535 | 535 | * |
536 | 536 | * @param array $questionList |
537 | 537 | * @param string $questionType |
538 | - * @param object $questionInstance Question/Answer instance |
|
538 | + * @param Question $questionInstance Question/Answer instance |
|
539 | 539 | * @param array $currentQuestion |
540 | - * @return integer db response |
|
540 | + * @return boolean|null db response |
|
541 | 541 | */ |
542 | 542 | public function processAnswers($questionList, $questionType, $questionInstance, $currentQuestion) |
543 | 543 | { |
@@ -620,7 +620,7 @@ discard block |
||
620 | 620 | /** |
621 | 621 | * Process Chamilo Unique Answer |
622 | 622 | * |
623 | - * @param object $objAnswer |
|
623 | + * @param Answer $objAnswer |
|
624 | 624 | * @param array $answerValues |
625 | 625 | * @param integer $position |
626 | 626 | * @param integer $questionWeighting |
@@ -653,7 +653,7 @@ discard block |
||
653 | 653 | /** |
654 | 654 | * Process Chamilo FillBlanks |
655 | 655 | * |
656 | - * @param object $objAnswer |
|
656 | + * @param Answer $objAnswer |
|
657 | 657 | * @param array $question |
658 | 658 | * @param array $answerValues |
659 | 659 | * @param string $placeholder |
@@ -716,7 +716,7 @@ discard block |
||
716 | 716 | * Litle utility to delete the unuseful tags |
717 | 717 | * |
718 | 718 | * @param $array |
719 | - * @param $keys |
|
719 | + * @param string[] $keys |
|
720 | 720 | */ |
721 | 721 | public function traverseArray(&$array, $keys) { |
722 | 722 | foreach ($array as $key => &$value) { |