diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index d846257f68d..237debc95a6 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -803,7 +803,7 @@ class Categorie extends CommonObject * * @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member') * @param int $onlyids Return only ids of objects (consume less memory) - * @return mixed -1 if KO, array of instance of object if OK + * @return array|int -1 if KO, array of instance of object if OK * @see containsObject */ function getObjectsInCateg($type, $onlyids=0)