aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Calendar/Resource/IManager.php12
-rw-r--r--lib/public/Calendar/Room/IManager.php12
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/public/Calendar/Resource/IManager.php b/lib/public/Calendar/Resource/IManager.php
index 8542e13eba7..b59cb6c797a 100644
--- a/lib/public/Calendar/Resource/IManager.php
+++ b/lib/public/Calendar/Resource/IManager.php
@@ -34,20 +34,20 @@ interface IManager {
/**
* Registers a resource backend
*
- * @param IBackend $backend
+ * @param string $backendClass
* @return void
* @since 14.0.0
*/
- public function registerBackend(IBackend $backend);
+ public function registerBackend(string $backendClass);
/**
* Unregisters a resource backend
*
- * @param IBackend $backend
+ * @param string $backendClass
* @return void
* @since 14.0.0
*/
- public function unregisterBackend(IBackend $backend);
+ public function unregisterBackend(string $backendClass);
/**
* @return IBackend[]
@@ -57,10 +57,10 @@ interface IManager {
/**
* @param string $backendId
- * @return IBackend
+ * @return IBackend|null
* @since 14.0.0
*/
- public function getBackend($backendId):IBackend;
+ public function getBackend($backendId);
/**
* removes all registered backend instances
diff --git a/lib/public/Calendar/Room/IManager.php b/lib/public/Calendar/Room/IManager.php
index 39e85c43e45..9aa61aa3f66 100644
--- a/lib/public/Calendar/Room/IManager.php
+++ b/lib/public/Calendar/Room/IManager.php
@@ -34,20 +34,20 @@ interface IManager {
/**
* Registers a room backend
*
- * @param IBackend $backend
+ * @param string $backendClass
* @return void
* @since 14.0.0
*/
- public function registerBackend(IBackend $backend);
+ public function registerBackend(string $backendClass);
/**
* Unregisters a room backend
*
- * @param IBackend $backend
+ * @param string $backendClass
* @return void
* @since 14.0.0
*/
- public function unregisterBackend(IBackend $backend);
+ public function unregisterBackend(string $backendClass);
/**
* @return IBackend[]
@@ -57,10 +57,10 @@ interface IManager {
/**
* @param string $backendId
- * @return IBackend
+ * @return IBackend|null
* @since 14.0.0
*/
- public function getBackend($backendId):IBackend;
+ public function getBackend($backendId);
/**
* removes all registered backend instances