diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-10 20:30:29 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-10 20:30:29 +0100 |
commit | 61ed57b757201541b2038ccab10b092a77c4fb64 (patch) | |
tree | e9b00d759ce7ee00974bd91da6674683b30d83cb /lib/private/KnownUser/KnownUserMapper.php | |
parent | 45dbc471d9964fcdb13c350bedc912d282d262f9 (diff) | |
download | nextcloud-server-61ed57b757201541b2038ccab10b092a77c4fb64.tar.gz nextcloud-server-61ed57b757201541b2038ccab10b092a77c4fb64.zip |
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/KnownUser/KnownUserMapper.php')
-rw-r--r-- | lib/private/KnownUser/KnownUserMapper.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/KnownUser/KnownUserMapper.php b/lib/private/KnownUser/KnownUserMapper.php index 1144e2fd212..e77e4752702 100644 --- a/lib/private/KnownUser/KnownUserMapper.php +++ b/lib/private/KnownUser/KnownUserMapper.php @@ -63,10 +63,12 @@ class KnownUserMapper extends QBMapper { } /** + * Returns all "known users" for the given "known to" user + * * @param string $knownTo * @return KnownUser[] */ - public function getKnownTo(string $knownTo): array { + public function getKnownUsers(string $knownTo): array { $query = $this->db->getQueryBuilder(); $query->select('*') ->from($this->getTableName()) |