From 68856d5a5fb7b4cbf31aa27e3c507da886bade12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 22 Jan 2024 18:14:49 +0100 Subject: [PATCH] fix phpstan --- htdocs/core/modules/product_batch/mod_sn_standard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {