summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-27 14:27:23 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-27 14:27:23 +0200
commite94a689bca339dda23afd1c22c606bc8628279b6 (patch)
treee93fe4230d9323ddf52125f493e60f23f0b9bca6 /lib
parent6741b373560f969707dd96be44d18182c1ec4848 (diff)
downloadnextcloud-server-e94a689bca339dda23afd1c22c606bc8628279b6.tar.gz
nextcloud-server-e94a689bca339dda23afd1c22c606bc8628279b6.zip
Fix version number in phpdoc for app loading refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_App.php6
-rw-r--r--lib/public/App/IAppManager.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index 5051d3e7ab5..b28b2d38fbd 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -98,7 +98,7 @@ class OC_App {
*
* @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 @@ class OC_App {
*
* @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 @@ class OC_App {
* @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 faaf871a74c..0148d2f489e 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -96,14 +96,14 @@ interface IAppManager {
/**
* 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 @@ interface IAppManager {
* 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;