Fix phpstan

This commit is contained in:
Laurent Destailleur 2025-01-27 02:25:57 +01:00
parent eb81cd4f22
commit 73e4e05bad

View File

@ -9438,7 +9438,7 @@ class Form
* If a saved selection of fields exists for user (into $user->conf->MAIN_SELECTEDFIELDS_contextofpage), we use this one instead of default.
*
* @param string $htmlname Name of HTML field
* @param array<string,array{label:string,checked:string,enabled?:string,type?:string,langfile?:string,position?:int}> $array Array with array of fields we could show. This array may be modified according to setup of user.
* @param array<string,array{label:string,checked:string,enabled?:string,type?:string,langfile?:string,position?:int,help?:string}> $array Array with array of fields we could show. This array may be modified according to setup of user.
* @param string $varpage Id of context for page. Can be set by caller with $varpage=(empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage);
* @param string $pos Position colon on liste value 'left' or '' (meaning 'right').
* @return string HTML multiselect string