From f144fccc3d6da8c481903a80575102a6d88553a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 15 Dec 2023 12:41:08 +0100 Subject: [PATCH 1/3] fix phpdoc --- htdocs/product/inventory/class/inventory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/inventory/class/inventory.class.php b/htdocs/product/inventory/class/inventory.class.php index 4b554de220e..9c53be35378 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; From 568125f1d8915e4e29c56766b850d00967ee705c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 15 Dec 2023 12:43:24 +0100 Subject: [PATCH 2/3] Update inventory.class.php --- htdocs/product/inventory/class/inventory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/inventory/class/inventory.class.php b/htdocs/product/inventory/class/inventory.class.php index 9c53be35378..735e7bc6b96 100644 --- a/htdocs/product/inventory/class/inventory.class.php +++ b/htdocs/product/inventory/class/inventory.class.php @@ -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; From 23e1915b3bf16beba5108b1ffa1204aebb2ef926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 15 Dec 2023 12:51:23 +0100 Subject: [PATCH 3/3] fix phpdoc --- htdocs/hrm/class/skill.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/hrm/class/skill.class.php b/htdocs/hrm/class/skill.class.php index 486e47f8b38..b1c96a39091 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) {