fix(qodana) fix function comment bad return
This commit is contained in:
parent
4dc9583607
commit
c4521efa57
@ -341,7 +341,7 @@ class Interventions extends DolibarrApi
|
||||
*
|
||||
* @url POST {id}/validate
|
||||
*
|
||||
* @return array
|
||||
* @return Object
|
||||
*/
|
||||
public function validate($id, $notrigger = 0)
|
||||
{
|
||||
@ -377,7 +377,7 @@ class Interventions extends DolibarrApi
|
||||
*
|
||||
* @url POST {id}/close
|
||||
*
|
||||
* @return array
|
||||
* @return Object
|
||||
*/
|
||||
public function closeFichinter($id)
|
||||
{
|
||||
|
||||
@ -673,7 +673,7 @@ class ProductFournisseur extends Product
|
||||
* @param int $limit Limit
|
||||
* @param int $offset Offset
|
||||
* @param int $socid Filter on a third party id
|
||||
* @return array Array of ProductFournisseur with new properties to define supplier price
|
||||
* @return array|int Array of ProductFournisseur with new properties to define supplier price
|
||||
*/
|
||||
public function list_product_fournisseur_price($prodid, $sortfield = '', $sortorder = '', $limit = 0, $offset = 0, $socid = 0)
|
||||
{
|
||||
@ -1042,7 +1042,7 @@ class ProductFournisseur extends Product
|
||||
* @param string $sortorder Sort order
|
||||
* @param int $limit Limit
|
||||
* @param int $offset Offset
|
||||
* @return array Array of Log prices
|
||||
* @return array|int Array of Log prices
|
||||
*/
|
||||
public function listProductFournisseurPriceLog($product_fourn_price_id, $sortfield = '', $sortorder = '', $limit = 0, $offset = 0)
|
||||
{
|
||||
|
||||
@ -4829,7 +4829,7 @@ class Product extends CommonObject
|
||||
/**
|
||||
* Return all parent products for current product (first level only)
|
||||
*
|
||||
* @return array Array of product
|
||||
* @return array|int Array of product
|
||||
* @see hasFatherOrChild()
|
||||
*/
|
||||
public function getFather()
|
||||
@ -4871,7 +4871,7 @@ class Product extends CommonObject
|
||||
* @param int $firstlevelonly Return only direct child
|
||||
* @param int $level Level of recursing call (start to 1)
|
||||
* @param array $parents Array of all parents of $id
|
||||
* @return array Return array(prodid=>array(0=prodid, 1=>qty, 2=>product type, 3=>label, 4=>incdec, 5=>product ref)
|
||||
* @return array|int Return array(prodid=>array(0=prodid, 1=>qty, 2=>product type, 3=>label, 4=>incdec, 5=>product ref)
|
||||
*/
|
||||
public function getChildsArbo($id, $firstlevelonly = 0, $level = 1, $parents = array())
|
||||
{
|
||||
|
||||
@ -367,7 +367,7 @@ class PriceGlobalVariableUpdater
|
||||
/**
|
||||
* List all price global variables
|
||||
*
|
||||
* @return array Array of price global variable updaters
|
||||
* @return array|int Array of price global variable updaters
|
||||
*/
|
||||
public function listUpdaters()
|
||||
{
|
||||
@ -404,7 +404,7 @@ class PriceGlobalVariableUpdater
|
||||
/**
|
||||
* List all updaters which need to be processed
|
||||
*
|
||||
* @return array Array of price global variable updaters
|
||||
* @return array|int Array of price global variable updaters
|
||||
*/
|
||||
public function listPendingUpdaters()
|
||||
{
|
||||
|
||||
@ -564,7 +564,7 @@ class Entrepot extends CommonObject
|
||||
/**
|
||||
* Return number of unique different product into a warehouse
|
||||
*
|
||||
* @return Array Array('nb'=>Nb, 'value'=>Value)
|
||||
* @return array|int Array('nb'=>Nb, 'value'=>Value)
|
||||
*/
|
||||
public function nb_different_products()
|
||||
{
|
||||
@ -595,7 +595,7 @@ class Entrepot extends CommonObject
|
||||
/**
|
||||
* Return stock and value of warehosue
|
||||
*
|
||||
* @return Array Array('nb'=>Nb, 'value'=>Value)
|
||||
* @return array|int Array('nb'=>Nb, 'value'=>Value)
|
||||
*/
|
||||
public function nb_products()
|
||||
{
|
||||
|
||||
@ -502,7 +502,7 @@ class Receptions extends DolibarrApi
|
||||
*
|
||||
* @url POST {id}/validate
|
||||
*
|
||||
* @return array
|
||||
* @return Object
|
||||
* \todo An error 403 is returned if the request has an empty body.
|
||||
* Error message: "Forbidden: Content type `text/plain` is not supported."
|
||||
* Workaround: send this in the body
|
||||
@ -630,7 +630,7 @@ class Receptions extends DolibarrApi
|
||||
*
|
||||
* @url POST {id}/close
|
||||
*
|
||||
* @return int
|
||||
* @return Object
|
||||
*/
|
||||
public function close($id, $notrigger = 0)
|
||||
{
|
||||
|
||||
@ -524,7 +524,7 @@ class Thirdparties extends DolibarrApi
|
||||
* Delete thirdparty
|
||||
*
|
||||
* @param int $id Thirdparty ID
|
||||
* @return integer
|
||||
* @return array
|
||||
*/
|
||||
public function delete($id)
|
||||
{
|
||||
@ -1354,7 +1354,7 @@ class Thirdparties extends DolibarrApi
|
||||
* @param int $id Thirdparty id
|
||||
* @param int $companybankid Companybank id
|
||||
* @param string $model Model of document to generate
|
||||
* @return void
|
||||
* @return array
|
||||
*
|
||||
* @url GET {id}/generateBankAccountDocument/{companybankid}/{model}
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user