mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user