Merge pull request #24269 from nextcloud/taint-specialize

Mark getAppPath as specialized taint
This commit is contained in:
Roeland Jago Douma 2020-11-22 13:39:46 +01:00 committed by GitHub
commit 032de4f333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,6 +518,8 @@ class OC_App {
* Get the directory for the given app.
* If the app is defined in multiple directories, the first one is taken. (false if not found)
*
* @psalm-taint-specialize
*
* @param string $appId
* @return string|false
* @deprecated 11.0.0 use \OC::$server->getAppManager()->getAppPath()