diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index df229ac6a18..cec8b26ecae 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -1458,9 +1458,9 @@ class FormMail extends Form
/**
* Return Html section for the Topic of message
*
- * @param ModelMail $arraydefaultmessage Array with message template content
- * @param string $helpforsubstitution Help string for substitution
- * @return string Text for topic
+ * @param CEmailTemplate $arraydefaultmessage Array with message template content
+ * @param string $helpforsubstitution Help string for substitution
+ * @return string Text for topic
*/
public function getHtmlForTopic($arraydefaultmessage, $helpforsubstitution)
{