Merge pull request #12442 from frederic34/patch-7

doxygen
This commit is contained in:
Laurent Destailleur 2019-11-16 00:39:40 +01:00 committed by GitHub
commit 81aed6a1f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2083,9 +2083,9 @@ class User extends CommonObject
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Read clicktodial information for user
* Read clicktodial information for user
*
* @return <0 if KO, >0 if OK
* @return int <0 if KO, >0 if OK
*/
public function fetch_clicktodial()
{
@ -2123,7 +2123,7 @@ class User extends CommonObject
/**
* Update clicktodial info
*
* @return integer
* @return int <0 if KO, >0 if OK
*/
public function update_clicktodial()
{
@ -2886,7 +2886,7 @@ class User extends CommonObject
/**
* Return and array with all instanciated first level children users of current user
*
* @return void
* @return User[]|int
* @see getAllChildIds()
*/
public function get_children()
@ -2895,7 +2895,7 @@ class User extends CommonObject
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."user";
$sql .= " WHERE fk_user = ".$this->id;
dol_syslog(get_class($this)."::get_children result=".$result, LOG_DEBUG);
dol_syslog(get_class($this)."::get_children sql=".$sql, LOG_DEBUG);
$res = $this->db->query($sql);
if ($res)
{