diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-10-28 00:56:55 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-11-03 23:15:56 +0000 |
commit | eb6217f551da044110f56c1ff69e58bad2cbdcb0 (patch) | |
tree | eb8d1a19723a29251b943343acb5d07d503ea842 /lib/private/Profile | |
parent | ee1c6eefb4412fc972f06710e97a43100c6ddb9c (diff) | |
download | nextcloud-server-eb6217f551da044110f56c1ff69e58bad2cbdcb0.tar.gz nextcloud-server-eb6217f551da044110f56c1ff69e58bad2cbdcb0.zip |
Better function descriptions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/private/Profile')
-rw-r--r-- | lib/private/Profile/ProfileManager.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php index 18b53ba9a7e..4809a111288 100644 --- a/lib/private/Profile/ProfileManager.php +++ b/lib/private/Profile/ProfileManager.php @@ -198,7 +198,8 @@ class ProfileManager { } /** - * Return whether the profile parameter is visible to the visiting user + * Return whether the profile parameter of the target user + * is visible to the visiting user */ private function isParameterVisible(IUser $targetUser, ?IUser $visitingUser, string $paramId): bool { try { @@ -247,7 +248,8 @@ class ProfileManager { } /** - * Return the profile parameters + * Return the profile parameters of the target user that are visible to the visiting user + * in an associative array */ public function getProfileParams(IUser $targetUser, ?IUser $visitingUser): array { $account = $this->accountManager->getAccount($targetUser); |