From 2cb4d40e5e41c7b99686129823535dc2c8927ed1 Mon Sep 17 00:00:00 2001 From: thibdrev Date: Sat, 9 Mar 2024 01:49:07 +0100 Subject: [PATCH] qual: phan for functions.lib.php (#28655) * Update card.php * Update functions.lib.php * Update card.php * Update releve.php * Update card-rec.php * Update card.php * Update prelevement.php * Update card.php * Update index.php * Update index.php * Update html.form.class.php * Update card.php * Update conferenceorbooth_card.php * Update conferenceorbooth_contact.php * Update conferenceorbooth_document.php * Update conferenceorbooth_list.php * Update conferenceorboothattendee_card.php * Update conferenceorboothattendee_list.php * Update shipment.php * Update card.php * Update card-rec.php * Update card.php * Update card.php * Update document.php * Update card.php * Update comment.php * Update element.php * Update ganttview.php * Update tasks.php * Update comment.php * Update contact.php * Update document.php * Update note.php * Update task.php * Update time.php * Update card.php * Update card.php * Update bank.php * Update card.php --------- Co-authored-by: Laurent Destailleur --- 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 1ec0132756d..77363408e36 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6228,7 +6228,7 @@ function vatrate($rate, $addpercent = false, $info_bits = 0, $usestarfornpr = 0, * Function used into PDF and HTML pages * * @param float $amount Amount to format - * @param integer $form Type of format, HTML or not (not by default) + * @param int<0,1> $form Type of formatting: 1=HTML, 0=no formatting (no by default) * @param Translate|string $outlangs Object langs for output. '' use default lang. 'none' use international separators. * @param int $trunc 1=Truncate if there is more decimals than MAIN_MAX_DECIMALS_SHOWN (default), 0=Does not truncate. Deprecated because amount are rounded (to unit or total amount accuracy) before being inserted into database or after a computation, so this parameter should be useless. * @param int $rounding MINIMUM number of decimal to show: 0=no change, -1=we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT)