diff --git a/htdocs/webportal/class/html.formlistwebportal.class.php b/htdocs/webportal/class/html.formlistwebportal.class.php
index ef952546c05..5ab7099e23d 100644
--- a/htdocs/webportal/class/html.formlistwebportal.class.php
+++ b/htdocs/webportal/class/html.formlistwebportal.class.php
@@ -694,7 +694,7 @@ class FormListWebPortal
}
// Remain to pay
if (array_key_exists('remain_to_pay', $arrayfields) && !empty($arrayfields['remain_to_pay']['checked'])) {
- // @phan-suppress-next-line PhanTypeMismatchArgument
+ // @phan-suppress-next-line PhanTypeMismatchArgument PhanTypeInvalidDimOffset
$html .= $this->form->showOutputFieldForObject($object, $arrayfields['remain_to_pay'], 'remain_to_pay', $remaintopay, '');
//$html .= price($remaintopay);
$html .= '';
diff --git a/htdocs/webportal/class/html.formwebportal.class.php b/htdocs/webportal/class/html.formwebportal.class.php
index 06a9b65108e..8492039a9b4 100644
--- a/htdocs/webportal/class/html.formwebportal.class.php
+++ b/htdocs/webportal/class/html.formwebportal.class.php
@@ -979,14 +979,14 @@ class FormWebPortal extends Form
/**
* Return HTML string to show a field into a page
*
- * @param CommonObject $object Common object
+ * @param CommonObject $object Common object
* @param array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $val Array of properties of field to show
- * @param string $key Key of attribute
- * @param string|string[] $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
- * @param string $moreparam To add more parameters on html input tag
- * @param string $keysuffix Prefix string to add into name and id of field (can be used to avoid duplicate names)
- * @param string $keyprefix Suffix string to add into name and id of field (can be used to avoid duplicate names)
- * @param mixed $morecss Value for css to define size. May also be a numeric.
+ * @param string $key Key of attribute
+ * @param string|string[] $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
+ * @param string $moreparam To add more parameters on html input tag
+ * @param string $keysuffix Prefix string to add into name and id of field (can be used to avoid duplicate names)
+ * @param string $keyprefix Suffix string to add into name and id of field (can be used to avoid duplicate names)
+ * @param mixed $morecss Value for css to define size. May also be a numeric.
* @return string
*/
public function showOutputFieldForObject($object, $val, $key, $value, $moreparam = '', $keysuffix = '', $keyprefix = '', $morecss = '')