summaryrefslogtreecommitdiffstats
path: root/lib/public/IGroupManager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-02 19:34:20 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-03 14:52:47 +0100
commit68ec18323d07e7293fd59c82d51300a6d9d68176 (patch)
treef8b2094b663d481dda920d1df8f9c852fa42ee36 /lib/public/IGroupManager.php
parent252d2d39583c7daf838a6a24d0f72660ed01c371 (diff)
downloadnextcloud-server-68ec18323d07e7293fd59c82d51300a6d9d68176.tar.gz
nextcloud-server-68ec18323d07e7293fd59c82d51300a6d9d68176.zip
Fix types in the Group Manager
Psalm found an issue. However the issue found was because of lying docblocks. Fixed those and did some typing to make it all better. For #25839 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/IGroupManager.php')
-rw-r--r--lib/public/IGroupManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php
index f8f0a5c47cd..eec36f3de79 100644
--- a/lib/public/IGroupManager.php
+++ b/lib/public/IGroupManager.php
@@ -112,10 +112,10 @@ interface IGroupManager {
/**
* @param \OCP\IUser $user
- * @return array with group names
+ * @return string[] with group names
* @since 8.0.0
*/
- public function getUserGroupIds(IUser $user);
+ public function getUserGroupIds(IUser $user): array;
/**
* get a list of all display names in a group