Improve documentation of visitor-related functions

This commit is contained in:
Hypolite Petovan 2020-08-04 22:44:42 -04:00
parent ae23c69303
commit 470079c37c
2 changed files with 3 additions and 3 deletions

View file

@ -266,7 +266,7 @@ function public_contact()
}
/**
* Returns contact id of authenticated site visitor or false
* Returns public contact id of authenticated site visitor or false
*
* @return int|bool visitor_id or false
*/

View file

@ -65,10 +65,10 @@ class Session
}
/**
* Returns contact ID for given user ID
* Return the user contact ID of a visitor for the given user ID they are visiting
*
* @param integer $uid User ID
* @return integer Contact ID of visitor for given user ID
* @return integer
*/
public static function getRemoteContactID($uid)
{