diff --git a/htdocs/hrm/class/skill.class.php b/htdocs/hrm/class/skill.class.php index be158c23d40..bc9998adf82 100644 --- a/htdocs/hrm/class/skill.class.php +++ b/htdocs/hrm/class/skill.class.php @@ -244,7 +244,7 @@ class Skill extends CommonObject * createSkills * * @param int $i Rank from which we want to create skilldets (level $i to HRM_MAXRANK wil be created) - * @return null + * @return int Return integer <0 if KO, Id of created object if OK */ public function createSkills($i = 1) { diff --git a/htdocs/product/inventory/class/inventory.class.php b/htdocs/product/inventory/class/inventory.class.php index 4b554de220e..735e7bc6b96 100644 --- a/htdocs/product/inventory/class/inventory.class.php +++ b/htdocs/product/inventory/class/inventory.class.php @@ -47,7 +47,7 @@ class Inventory extends CommonObject public $table_element = 'inventory'; /** - * @var array Does inventory support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe + * @var int Does inventory support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe */ public $ismultientitymanaged = 1; @@ -789,7 +789,7 @@ class InventoryLine extends CommonObjectLine public $table_element = 'inventorydet'; /** - * @var array Does inventory support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe + * @var int Does inventory support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe */ public $ismultientitymanaged = 0;