From f3ca69522eb84d46a53b3977168bcacb586a2cab Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 11 Mar 2019 01:41:09 +0100 Subject: [PATCH] Fix phpcs --- htdocs/categories/class/categorie.class.php | 4 ++-- htdocs/compta/facture/class/facture.class.php | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index aed85c9a83c..4b6f92a03d5 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -747,7 +747,7 @@ class Categorie extends CommonObject * @param string $type Type of category ('customer', 'supplier', 'contact', 'product', 'member') * @param int $onlyids Return only ids of objects (consume less memory) * @return array|int -1 if KO, array of instance of object if OK - * @see containsObject + * @see containsObject() */ 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 int $object_id Id of the object to search * @return int Number of occurrences - * @see getObjectsInCateg + * @see getObjectsInCateg() */ public function containsObject($type, $object_id) { diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 7b34ad4e895..c48976c2153 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -4269,7 +4269,6 @@ class Facture extends CommonInvoice * Checks if the invoice is the last in its cycle * * @return bool Last of the cycle status - * */ public function is_last_in_cycle() { @@ -4299,8 +4298,8 @@ class Facture extends CommonInvoice * Function used to replace a thirdparty id with another one. * * @param DoliDB $db Database handler - * @param int $origin_id Old thirdparty id - * @param int $dest_id New thirdparty id + * @param int $origin_id Old third-party id + * @param int $dest_id New third-party id * @return bool */ public static function replaceThirdparty(DoliDB $db, $origin_id, $dest_id) @@ -4390,13 +4389,13 @@ class FactureLigne extends CommonInvoiceLine // From llx_product /** * @deprecated - * @see product_ref + * @see $product_ref */ public $ref; // Product ref (deprecated) public $product_ref; // Product ref /** * @deprecated - * @see product_label + * @see $product_label */ public $libelle; // Product label (deprecated) public $product_label; // Product label