diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index ce8c2a8fa80..0ed297ad58d 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -20214,6 +20214,18 @@ parameters: count: 1 path: ../../../htdocs/product/class/api_products.class.php + - + message: '#^Method Products\:\:getPurchasePrices\(\) should return array\ but returns object\.$#' + identifier: return.type + count: 1 + path: ../../../htdocs/product/class/api_products.class.php + + - + message: '#^Unable to resolve the template type T in call to method Products\:\:_cleanObjectDatas\(\)$#' + identifier: argument.templateType + count: 1 + path: ../../../htdocs/product/class/api_products.class.php + - message: '#^Method Products\:\:getSubproducts\(\) return type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -21804,6 +21816,18 @@ parameters: count: 1 path: ../../../htdocs/projet/class/api_tasks.class.php + - + message: '#^Method Tasks\:\:getRoles\(\) should return array but returns list\\.$#' + identifier: return.type + count: 1 + path: ../../../htdocs/projet/class/api_tasks.class.php + + - + message: '#^Unable to resolve the template type T in call to method Tasks\:\:_cleanObjectDatas\(\)$#' + identifier: argument.templateType + count: 1 + path: ../../../htdocs/projet/class/api_tasks.class.php + - message: '#^Parameter \#1 \$object of method Tasks\:\:_cleanObjectDatas\(\) expects object, string given\.$#' identifier: argument.type