Clean code

This commit is contained in:
ldestailleur 2025-02-19 17:32:11 +01:00
parent 7956d3099d
commit dd726641c7

View file

@ -2072,9 +2072,9 @@ abstract class CommonObject
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Load the product with id $this->fk_product into this->product
* Load the product with id $this->fk_product into this->product
*
* @return int<-1,1> Return integer <0 if KO, >=0 if OK
* @return int<-1,1> Return integer <0 if KO, >=0 if OK
*/
public function fetch_product()
{
@ -2096,10 +2096,10 @@ abstract class CommonObject
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Load the user with id $userid into this->user
* Load the user with id $userid into this->user
*
* @param int $userid Id du contact
* @return int<-1,1> Return integer <0 if KO, >0 if OK
* @param int $userid Id du contact
* @return int<-1,1> Return integer <0 if KO, >0 if OK
*/
public function fetch_user($userid)
{