aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-09-11 13:01:41 +0200
committerGitHub <noreply@github.com>2017-09-11 13:01:41 +0200
commit88731848c609a454aa90a533e7361bca5f4e66b8 (patch)
tree41de2667b284523c14da8087a4342cdf36f4e0bf /lib
parent316c7e18bc8a3475616a88eca4332309a8789b0c (diff)
parentb97f48f1afcb334d83e30af79d8190ec8c8d3ae0 (diff)
downloadnextcloud-server-88731848c609a454aa90a533e7361bca5f4e66b8.tar.gz
nextcloud-server-88731848c609a454aa90a533e7361bca5f4e66b8.zip
Merge pull request #6435 from nextcloud/add-exception-to-phpdoc
Add exceptions to PHPDoc of interface
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Share/IManager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 31f04803066..764e36b5d7e 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -40,6 +40,7 @@ interface IManager {
*
* @param IShare $share
* @return IShare The share object
+ * @throws \Exception
* @since 9.0.0
*/
public function createShare(IShare $share);
@@ -51,6 +52,7 @@ interface IManager {
*
* @param IShare $share
* @return IShare The share object
+ * @throws \InvalidArgumentException
* @since 9.0.0
*/
public function updateShare(IShare $share);
@@ -60,6 +62,7 @@ interface IManager {
*
* @param IShare $share
* @throws ShareNotFound
+ * @throws \InvalidArgumentException
* @since 9.0.0
*/
public function deleteShare(IShare $share);