Fix phpdoc
This commit is contained in:
parent
2f7e246ab3
commit
3e1fa44657
@ -4500,7 +4500,7 @@ function info_admin($text, $infoonimgalt = 0, $nodiv = 0, $admin = '1', $morecss
|
|||||||
* This function must be called when a blocking technical error is encountered.
|
* This function must be called when a blocking technical error is encountered.
|
||||||
* However, one must try to call it only within php pages, classes must return their error through their property "error".
|
* However, one must try to call it only within php pages, classes must return their error through their property "error".
|
||||||
*
|
*
|
||||||
* @param DoliDB? $db Database handler
|
* @param DoliDB|string $db Database handler
|
||||||
* @param string|string[] $error String or array of errors strings to show
|
* @param string|string[] $error String or array of errors strings to show
|
||||||
* @param array $errors Array of errors
|
* @param array $errors Array of errors
|
||||||
* @return void
|
* @return void
|
||||||
@ -5195,12 +5195,12 @@ function vatrate($rate, $addpercent = false, $info_bits = 0, $usestarfornpr = 0)
|
|||||||
*
|
*
|
||||||
* @param float $amount Amount to format
|
* @param float $amount Amount to format
|
||||||
* @param integer $form Type of format, HTML or not (not by default)
|
* @param integer $form Type of format, HTML or not (not by default)
|
||||||
* @param Translate? $outlangs Object langs for output
|
* @param Translate|string $outlangs Object langs for output
|
||||||
* @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 accurancy) before beeing inserted into database or after a computation, so this parameter should be useless.
|
* @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 accurancy) before beeing inserted into database or after a computation, so this parameter should be useless.
|
||||||
* @param int $rounding Minimum number of decimal to show. If 0, no change, if -1, we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT)
|
* @param int $rounding Minimum number of decimal to show. If 0, no change, if -1, we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT)
|
||||||
* @param int $forcerounding Force the number of decimal to forcerounding decimal (-1=do not force)
|
* @param int $forcerounding Force the number of decimal to forcerounding decimal (-1=do not force)
|
||||||
* @param string $currency_code To add currency symbol (''=add nothing, 'auto'=Use default currency, 'XXX'=add currency symbols for XXX currency)
|
* @param string $currency_code To add currency symbol (''=add nothing, 'auto'=Use default currency, 'XXX'=add currency symbols for XXX currency)
|
||||||
* @return string Chaine avec montant formate
|
* @return string String with formated amount
|
||||||
*
|
*
|
||||||
* @see price2num() Revert function of price
|
* @see price2num() Revert function of price
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user