FIX: PHPDoc wrong return value (#30634)

* FIX: PHPDoc wrong return value

* better type

* FIX: there is more types for Categorie::containing() return
This commit is contained in:
Noé Cendrier
2024-08-14 16:05:24 +02:00
committed by GitHub
parent 467e96e81f
commit 57e9e5f845
2 changed files with 6 additions and 6 deletions

View File

@@ -10857,7 +10857,7 @@ abstract class CommonObject
* Existing categories are left untouch.
*
* @param string $type_categ Category type ('customer', 'supplier', 'website_page', ...)
* @return int Array of category objects or < 0 if KO
* @return int[]|int Array of category IDs or < 0 if KO
*/
public function getCategoriesCommon($type_categ)
{