@@ -299,7 +299,7 @@ discard block |
||
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 |
||
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 |
||
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) { |