diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-29 16:10:31 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-29 16:10:31 +0100 |
commit | 67e3ecef98cceb947e8d3d5df7695f5f68ad0b6c (patch) | |
tree | 3070686bedde56791337dc3fbc7fcd6f4d87047a /lib/private/legacy | |
parent | ccc66e912b171ba7bb4e5b4478508a22202eb356 (diff) | |
download | nextcloud-server-67e3ecef98cceb947e8d3d5df7695f5f68ad0b6c.tar.gz nextcloud-server-67e3ecef98cceb947e8d3d5df7695f5f68ad0b6c.zip |
chore: Cleanup Installer class as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_App.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 6e4b40b4165..edd844bf89f 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -282,10 +282,8 @@ class OC_App { /** * Get the path where to install apps - * - * @return string|false */ - public static function getInstallPath() { + public static function getInstallPath(): string|null { foreach (OC::$APPSROOTS as $dir) { if (isset($dir['writable']) && $dir['writable'] === true) { return $dir['path']; |