diff --git a/htdocs/core/modules/asset/mod_asset_standard.php b/htdocs/core/modules/asset/mod_asset_standard.php index 1c957de8724..bc0705840d3 100644 --- a/htdocs/core/modules/asset/mod_asset_standard.php +++ b/htdocs/core/modules/asset/mod_asset_standard.php @@ -78,8 +78,8 @@ class mod_asset_standard extends ModeleNumRefAsset * Checks if the numbers already in the database do not * cause conflicts that would prevent this numbering working. * - * @param Asset $object Object we need next value for - * @return boolean false if conflict, true if ok + * @param CommonObject $object Object we need next value for + * @return boolean false if conflict, true if ok */ public function canBeActivated($object) { diff --git a/htdocs/core/modules/bom/mod_bom_standard.php b/htdocs/core/modules/bom/mod_bom_standard.php index f4ba8293423..1e4c22fb754 100644 --- a/htdocs/core/modules/bom/mod_bom_standard.php +++ b/htdocs/core/modules/bom/mod_bom_standard.php @@ -77,8 +77,8 @@ class mod_bom_standard extends ModeleNumRefBoms * Checks if the numbers already in the database do not * cause conflicts that would prevent this numbering working. * - * @param Bom $object Object we need next value for - * @return boolean false if conflict, true if ok + * @param CommonObject $object Object we need next value for + * @return boolean false if conflict, true if ok */ public function canBeActivated($object) {