mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 10:21:32 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user