Improve documentation of visitor-related functions

This commit is contained in:
Hypolite Petovan 2020-08-04 22:44:42 -04:00
父節點 ae23c69303
當前提交 470079c37c
共有 2 個檔案被更改,包括 3 行新增3 行删除

查看文件

@ -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
*/

查看文件

@ -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)
{