fix phpstan (#28433)

Default value of the parameter #2 $mesgarray (string) of function get_htmloutput_mesg() is incompatible with type array<string>.
This commit is contained in:
Frédéric FRANCE
2024-02-26 23:02:53 +01:00
committed by GitHub
parent f0dc1358f9
commit 84b01dc1f8

View File

@@ -9348,7 +9348,7 @@ function dol_htmloutput_events($disabledoutputofmessages = 0)
* @see dol_htmloutput_errors()
* @see setEventMessages()
*/
function get_htmloutput_mesg($mesgstring = '', $mesgarray = '', $style = 'ok', $keepembedded = 0)
function get_htmloutput_mesg($mesgstring = '', $mesgarray = [], $style = 'ok', $keepembedded = 0)
{
global $conf, $langs;