aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorDaniel Rudolf <github.com@daniel-rudolf.de>2019-09-05 18:35:40 +0200
committerDaniel Rudolf <github.com@daniel-rudolf.de>2019-09-05 18:35:40 +0200
commit2d56664e3587214254c1fd35370b6854c0ad878b (patch)
treed7af765e4ad38b5e97712915ea3d1c6e4aa7966a /lib/public
parent34919d3ebc828314579d180a5ab261b67e6fc03c (diff)
downloadnextcloud-server-2d56664e3587214254c1fd35370b6854c0ad878b.tar.gz
nextcloud-server-2d56664e3587214254c1fd35370b6854c0ad878b.zip
Improve usage of IAppManager::getAppWebPath()
Deprecate \OC_App::getAppWebPath() and \OC_App::getAppPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/App/IAppManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index c57b94382a7..391e3f0dd64 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -131,10 +131,10 @@ interface IAppManager {
*
* @param string $appId
* @return string
- * @since 17.0.0
+ * @since 18.0.0
* @throws AppPathNotFoundException
*/
- public function getAppWebPath($appId);
+ public function getAppWebPath(string $appId): string;
/**
* List all apps enabled for a user