diff options
author | Daniel Rudolf <github.com@daniel-rudolf.de> | 2019-09-05 18:35:40 +0200 |
---|---|---|
committer | Daniel Rudolf <github.com@daniel-rudolf.de> | 2019-09-05 18:35:40 +0200 |
commit | 2d56664e3587214254c1fd35370b6854c0ad878b (patch) | |
tree | d7af765e4ad38b5e97712915ea3d1c6e4aa7966a /lib/private/App/AppManager.php | |
parent | 34919d3ebc828314579d180a5ab261b67e6fc03c (diff) | |
download | nextcloud-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/private/App/AppManager.php')
-rw-r--r-- | lib/private/App/AppManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 6571386f5cf..19242245600 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -411,7 +411,7 @@ class AppManager implements IAppManager { * @return string * @throws AppPathNotFoundException if app path can't be found */ - public function getAppWebPath($appId) { + public function getAppWebPath(string $appId): string { $appWebPath = \OC_App::getAppWebPath($appId); if($appWebPath === false) { throw new AppPathNotFoundException('Could not find web path for ' . $appId); |