Skip to content

Commit

Permalink
docs: correct return type for findAppInDirectories
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Jul 11, 2024
1 parent 64701f8 commit 6983310
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/private/legacy/OC_App.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,13 @@ public static function getInstallPath(): string|null {


/**
* 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);
Expand Down

0 comments on commit 6983310

Please sign in to comment.