diff --git a/htdocs/core/modules/contract/mod_contract_magre.php b/htdocs/core/modules/contract/mod_contract_magre.php index ca7236189e1..61445bfcf25 100755 --- a/htdocs/core/modules/contract/mod_contract_magre.php +++ b/htdocs/core/modules/contract/mod_contract_magre.php @@ -93,9 +93,9 @@ class mod_contract_magre extends ModelNumRefContracts /** * Return next value * - * @param objsoc third party object - * @param contract contract object - * @return string Value if OK, 0 if KO + * @param Societe $objsoc third party object + * @param Object $contract contract object + * @return string Value if OK, 0 if KO */ function getNextValue($objsoc,$contract) { @@ -117,11 +117,11 @@ class mod_contract_magre extends ModelNumRefContracts } /** - * Return next free value + * Return next value * - * @param objsoc Object third party - * @param objforref Object for number to search - * @return string Next free value + * @param Societe $objsoc third party object + * @param Object $objforref contract object + * @return string Value if OK, 0 if KO */ function contract_get_num($objsoc,$objforref) { diff --git a/htdocs/core/modules/contract/mod_contract_serpis.php b/htdocs/core/modules/contract/mod_contract_serpis.php index 6ea87f6bcb6..234d5273788 100755 --- a/htdocs/core/modules/contract/mod_contract_serpis.php +++ b/htdocs/core/modules/contract/mod_contract_serpis.php @@ -93,9 +93,9 @@ class mod_contract_serpis extends ModelNumRefContracts /** * Return next value * - * @param objsoc third party object - * @param contract contract object - * @return string Value if OK, 0 if KO + * @param Societe $objsoc third party object + * @param Object $contract contract object + * @return string Value if OK, 0 if KO */ function getNextValue($objsoc,$contract) { @@ -130,11 +130,11 @@ class mod_contract_serpis extends ModelNumRefContracts /** - * Return next free value + * Return next value * - * @param objsoc Object third party - * @param objforref Object for number to search - * @return string Next free value + * @param Societe $objsoc third party object + * @param Object $objforref contract object + * @return string Value if OK, 0 if KO */ function contract_get_num($objsoc,$objforref) {