mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
docs: correct return type for findAppInDirectories
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
64701f8a80
commit
6983310ec0
1 changed files with 4 additions and 2 deletions
|
|
@ -255,11 +255,13 @@ class OC_App {
|
|||
|
||||
|
||||
/**
|
||||
* search for an app in all app-directories
|
||||
* Find the apps root for an app id.
|
||||
*
|
||||
* If multiple copies are found, the apps root the latest version is returned.
|
||||
*
|
||||
* @param string $appId
|
||||
* @param bool $ignoreCache ignore cache and rebuild it
|
||||
* @return false|string
|
||||
* @return false|array{path: string, url: string} the apps root shape
|
||||
*/
|
||||
public static function findAppInDirectories(string $appId, bool $ignoreCache = false) {
|
||||
$sanitizedAppId = self::cleanAppId($appId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue