docs: correct return type for findAppInDirectories

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2024-07-11 12:05:14 +02:00 committed by Daniel
parent 64701f8a80
commit 6983310ec0

View file

@ -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);