summaryrefslogtreecommitdiffstats
path: root/lib/public/App/IAppManager.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-12-06 12:09:52 +0100
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-12-19 09:10:41 +0000
commita1301de7fa5cb2d4ac2a894689cb22cb5c8f494e (patch)
tree74a10efc50ae41b512b61f9d127b3456cacd17ba /lib/public/App/IAppManager.php
parent3cce9aa547d44cdb9ead142bb792a67be789b0e9 (diff)
downloadnextcloud-server-a1301de7fa5cb2d4ac2a894689cb22cb5c8f494e.tar.gz
nextcloud-server-a1301de7fa5cb2d4ac2a894689cb22cb5c8f494e.zip
Revert "Just use string for groups in enableAppForGroups"
This reverts commit e17244e92fb316d2f2e3fd1ae343bd47b54395b8. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/App/IAppManager.php')
-rw-r--r--lib/public/App/IAppManager.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index 764b3b0a5b5..f7c9d848099 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -42,6 +42,7 @@ use OCP\IUser;
* @since 8.0.0
*/
interface IAppManager {
+
/**
* Returns the app information from "appinfo/info.xml".
*
@@ -116,7 +117,7 @@ interface IAppManager {
* Enable an app only for specific groups
*
* @param string $appId
- * @param string[] $groups
+ * @param \OCP\IGroup[] $groups
* @param bool $forceEnable
* @throws \Exception
* @since 8.0.0
@@ -196,13 +197,13 @@ interface IAppManager {
/**
* @param \OCP\IGroup $group
- * @return string[]
+ * @return String[]
* @since 17.0.0
*/
public function getEnabledAppsForGroup(IGroup $group): array;
/**
- * @param string $appId
+ * @param String $appId
* @return string[]
* @since 17.0.0
*/