From c614118e884446b25e10432bdaab93895f67709f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 23 Nov 2011 15:58:20 +0100 Subject: [PATCH] Qual: Removed phpcs errors --- htdocs/ecm/class/htmlecm.form.class.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/ecm/class/htmlecm.form.class.php b/htdocs/ecm/class/htmlecm.form.class.php index dcfc5bae44c..243be7bc8ce 100644 --- a/htdocs/ecm/class/htmlecm.form.class.php +++ b/htdocs/ecm/class/htmlecm.form.class.php @@ -34,21 +34,22 @@ class FormEcm /** - * \brief Constructeur - * \param DB handler d'acces base de donnee + * Constructor + * + * @param DoliDB $db Database handler */ - function FormEcm($DB) + function FormEcm($db) { - $this->db = $DB; - - return 1; + $this->db = $db; } /** - * \brief Retourne la liste des categories du type choisi - * \param selected Id categorie preselectionnee - * \param select_name Nom formulaire HTML + * Retourne la liste des categories du type choisi + * + * @param int $selected Id categorie preselectionnee + * @param string $select_name Nom formulaire HTML + * @return string String with HTML select */ function select_all_sections($selected='',$select_name='') {