Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-03-11 01:41:09 +01:00
parent a74b1daad1
commit f3ca69522e
2 changed files with 6 additions and 7 deletions

View File

@ -747,7 +747,7 @@ class Categorie extends CommonObject
* @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member') * @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member')
* @param int $onlyids Return only ids of objects (consume less memory) * @param int $onlyids Return only ids of objects (consume less memory)
* @return array|int -1 if KO, array of instance of object if OK * @return array|int -1 if KO, array of instance of object if OK
* @see containsObject * @see containsObject()
*/ */
public function getObjectsInCateg($type, $onlyids = 0) public function getObjectsInCateg($type, $onlyids = 0)
{ {
@ -794,7 +794,7 @@ class Categorie extends CommonObject
* @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member') * @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member')
* @param int $object_id Id of the object to search * @param int $object_id Id of the object to search
* @return int Number of occurrences * @return int Number of occurrences
* @see getObjectsInCateg * @see getObjectsInCateg()
*/ */
public function containsObject($type, $object_id) public function containsObject($type, $object_id)
{ {

View File

@ -4269,7 +4269,6 @@ class Facture extends CommonInvoice
* Checks if the invoice is the last in its cycle * Checks if the invoice is the last in its cycle
* *
* @return bool Last of the cycle status * @return bool Last of the cycle status
*
*/ */
public function is_last_in_cycle() public function is_last_in_cycle()
{ {
@ -4299,8 +4298,8 @@ class Facture extends CommonInvoice
* Function used to replace a thirdparty id with another one. * Function used to replace a thirdparty id with another one.
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param int $origin_id Old thirdparty id * @param int $origin_id Old third-party id
* @param int $dest_id New thirdparty id * @param int $dest_id New third-party id
* @return bool * @return bool
*/ */
public static function replaceThirdparty(DoliDB $db, $origin_id, $dest_id) public static function replaceThirdparty(DoliDB $db, $origin_id, $dest_id)
@ -4390,13 +4389,13 @@ class FactureLigne extends CommonInvoiceLine
// From llx_product // From llx_product
/** /**
* @deprecated * @deprecated
* @see product_ref * @see $product_ref
*/ */
public $ref; // Product ref (deprecated) public $ref; // Product ref (deprecated)
public $product_ref; // Product ref public $product_ref; // Product ref
/** /**
* @deprecated * @deprecated
* @see product_label * @see $product_label
*/ */
public $libelle; // Product label (deprecated) public $libelle; // Product label (deprecated)
public $product_label; // Product label public $product_label; // Product label