From e94a689bca339dda23afd1c22c606bc8628279b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 27 Mar 2023 14:27:23 +0200 Subject: [PATCH] Fix version number in phpdoc for app loading refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/legacy/OC_App.php | 6 +++--- lib/public/App/IAppManager.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 5051d3e7ab503..b28b2d38fbdc1 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -98,7 +98,7 @@ public static function cleanAppId(string $app): string { * * @param string $app * @return bool - * @deprecated 26.0.0 use IAppManager::isAppLoaded + * @deprecated 27.0.0 use IAppManager::isAppLoaded */ public static function isAppLoaded(string $app): bool { return \OC::$server->get(IAppManager::class)->isAppLoaded($app); @@ -129,7 +129,7 @@ public static function loadApps(array $types = []): bool { * * @param string $app * @throws Exception - * @deprecated 26.0.0 use IAppManager::loadApp + * @deprecated 27.0.0 use IAppManager::loadApp */ public static function loadApp(string $app): void { \OC::$server->get(IAppManager::class)->loadApp($app); @@ -171,7 +171,7 @@ public static function registerAutoloading(string $app, string $path, bool $forc * @param string $app * @param array $types * @return bool - * @deprecated 26.0.0 use IAppManager::isType + * @deprecated 27.0.0 use IAppManager::isType */ public static function isType(string $app, array $types): bool { return \OC::$server->get(IAppManager::class)->isType($app, $types); diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index faaf871a74cc9..0148d2f489eba 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -96,14 +96,14 @@ public function isDefaultEnabled(string $appId):bool; /** * Load an app, if not already loaded * @param string $app app id - * @since 26.0.0 + * @since 27.0.0 */ public function loadApp(string $app): void; /** * Check if an app is loaded * @param string $app app id - * @since 26.0.0 + * @since 27.0.0 */ public function isAppLoaded(string $app): bool; @@ -207,13 +207,13 @@ public function isShipped($appId); * exists. * * if $types is set to non-empty array, only apps of those types will be loaded - * @since 26.0.0 + * @since 27.0.0 */ public function loadApps(array $types = []): bool; /** * Check if an app is of a specific type - * @since 26.0.0 + * @since 27.0.0 */ public function isType(string $app, array $types): bool;