Browse Source

Merge pull request #6435 from nextcloud/add-exception-to-phpdoc

Add exceptions to PHPDoc of interface
tags/v13.0.0beta1
Lukas Reschke 6 years ago
parent
commit
88731848c6
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      lib/public/Share/IManager.php

+ 3
- 0
lib/public/Share/IManager.php View File

@@ -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);

Loading…
Cancel
Save