Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Collaboration/Resources/IManager.php')
-rw-r--r--lib/public/Collaboration/Resources/IManager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/Collaboration/Resources/IManager.php b/lib/public/Collaboration/Resources/IManager.php
index abccfd2eed1..dd1c970af79 100644
--- a/lib/public/Collaboration/Resources/IManager.php
+++ b/lib/public/Collaboration/Resources/IManager.php
@@ -30,15 +30,17 @@ interface IManager extends IProvider {
/**
* @param int $id
* @return ICollection
+ * @throws CollectionException when the collection could not be found
* @since 15.0.0
*/
public function getCollection(int $id): ICollection;
/**
+ * @param string $name
* @return ICollection
* @since 15.0.0
*/
- public function newCollection(): ICollection;
+ public function newCollection(string $name): ICollection;
/**
* @param string $type