@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | * Read and validate the quiz module XML |
307 | 307 | * |
308 | 308 | * @param resource $moduleXml XML file |
309 | - * @return mixed | array if is a valid xml file, false otherwise |
|
309 | + * @return string | array if is a valid xml file, false otherwise |
|
310 | 310 | */ |
311 | 311 | public function readQuizModule($moduleXml) |
312 | 312 | { |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | /** |
522 | 522 | * Process Chamilo Unique Answer |
523 | 523 | * |
524 | - * @param object $objAnswer |
|
524 | + * @param Answer $objAnswer |
|
525 | 525 | * @param array $answerValues |
526 | 526 | * @param integer $position |
527 | 527 | * @return integer db response |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | * Litle utility to delete the unuseful tags |
559 | 559 | * |
560 | 560 | * @param $array |
561 | - * @param $keys |
|
561 | + * @param string[] $keys |
|
562 | 562 | */ |
563 | 563 | public function traverseArray(&$array, $keys) { |
564 | 564 | foreach ($array as $key => &$value) { |