From 721250edc835eb9b29e2bf20e5ee1d8ff4d916c7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Sep 2024 02:46:39 +0200 Subject: [PATCH] Fix type hint --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 494235e1c6b..8af20ea8e24 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -10124,7 +10124,7 @@ function dol_osencode($str) * Store also Code-Id into a cache to speed up next request on same table and key. * * @param DoliDB $db Database handler - * @param string $key Code or Id to get Id or Code + * @param string|int $key Code (string) or Id (int) to get Id or Code * @param string $tablename Table name without prefix * @param string $fieldkey Field to search the key into * @param string $fieldid Field to get