From 470079c37c0d70e88219921a34e8c07302ddfb2c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 4 Aug 2020 22:44:42 -0400 Subject: [PATCH] Improve documentation of visitor-related functions --- boot.php | 2 +- src/Core/Session.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 512238b52e..b43fd6dc2f 100644 --- a/boot.php +++ b/boot.php @@ -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 */ diff --git a/src/Core/Session.php b/src/Core/Session.php index 767dcb513f..b15b53c4ee 100644 --- a/src/Core/Session.php +++ b/src/Core/Session.php @@ -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) {