2
0
forked from Wavyzz/dolibarr

fix phpstan (#28434)

Default value of the parameter #5 $id (string) of function print_fiche_titre() is incompatible with type int.
This commit is contained in:
Frédéric FRANCE
2024-02-26 23:00:28 +01:00
committed by GitHub
parent f0209f1b66
commit 96a727d1f0

View File

@@ -13,7 +13,7 @@
* Copyright (C) 2014 Cédric GROSS <c.gross@kreiz-it.fr>
* Copyright (C) 2014-2015 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
* Copyright (C) 2018-2024 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2019-2023 Thibault Foucart <support@ptibogxiv.net>
* Copyright (C) 2020 Open-Dsi <support@open-dsi.fr>
* Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
@@ -5841,7 +5841,7 @@ function print_titre($title)
* @param string $mesg Added message to show on right
* @param string $picto Icon to use before title (should be a 32x32 transparent png file)
* @param int $pictoisfullpath 1=Icon name is a full absolute url of image
* @param int $id To force an id on html objects
* @param string $id To force an id on html objects by example id="name" where name is id
* @return void
* @deprecated Use print load_fiche_titre instead
*/