aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/App
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-01-23 09:55:06 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-02-03 11:47:47 +0100
commit44023ff047063d9765c39964f7e113672f6c2612 (patch)
tree884a46023b56ceffb152fd5e678a4389e03a0e8e /lib/public/App
parente0f96bc1ac0641a79f2da237addca1cf35041f9e (diff)
downloadnextcloud-server-44023ff047063d9765c39964f7e113672f6c2612.tar.gz
nextcloud-server-44023ff047063d9765c39964f7e113672f6c2612.zip
fix(apps): Fix type information of app manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/IAppManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index 4667cf13f0f..d15cfdbea96 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -45,8 +45,8 @@ interface IAppManager {
/**
* Returns the app information from "appinfo/info.xml".
*
- * @param string $appId
- * @return mixed
+ * @param string|null $lang
+ * @return array|null
* @since 14.0.0
*/
public function getAppInfo(string $appId, bool $path = false, $lang = null);
@@ -65,7 +65,7 @@ interface IAppManager {
* Check if an app is enabled for user
*
* @param string $appId
- * @param \OCP\IUser $user (optional) if not defined, the currently loggedin user will be used
+ * @param \OCP\IUser|null $user (optional) if not defined, the currently loggedin user will be used
* @return bool
* @since 8.0.0
*/