diff --git a/htdocs/core/modules/product_batch/mod_sn_standard.php b/htdocs/core/modules/product_batch/mod_sn_standard.php index 5f569baa498..42986330cf8 100644 --- a/htdocs/core/modules/product_batch/mod_sn_standard.php +++ b/htdocs/core/modules/product_batch/mod_sn_standard.php @@ -116,7 +116,7 @@ class mod_sn_standard extends ModeleNumRefBatch * * @param Societe $objsoc Object thirdparty * @param Productlot $object Object we need next value for - * @return string Value if KO, <0 if KO + * @return string|int String if OK, <0 if KO */ public function getNextValue($objsoc, $object) {