Correction affichage documentation

This commit is contained in:
Michael RICOIS 2012-09-20 07:41:32 +00:00
parent 1be7e2582e
commit 0c791cb250

View File

@ -59,7 +59,8 @@ class Zend_View_Helper_DocReturn extends Zend_View_Helper_Abstract
if (isset($param['description']) && !empty($param['description'])) {
$output.= ' - '.$param['description'];
}
if (!in_array($param['type'], $this->types)) {
$type = str_replace('[]', '', $param['type']);
if (!in_array($type, $this->types)) {
$output.= $this->parseType($param['type']);
}
$output.= '</li>';