diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-30 13:19:50 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-30 13:19:50 +0200 |
commit | c771368c4e3e8fdac4ef95758f308f85d5a29edf (patch) | |
tree | 92329262f27f21bf06d795210f521dbb46fb73cb /apps/dav/lib/Connector/Sabre/ObjectTree.php | |
parent | 1e7f0f73410cf3b8a7fd52cade27de92bc5994c3 (diff) | |
download | nextcloud-server-c771368c4e3e8fdac4ef95758f308f85d5a29edf.tar.gz nextcloud-server-c771368c4e3e8fdac4ef95758f308f85d5a29edf.zip |
Add proper throws PHP docs
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/ObjectTree.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ObjectTree.php | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index 100e5ec56a2..8f5f7be2505 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -186,9 +186,13 @@ class ObjectTree extends \Sabre\DAV\Tree { * * @param string $sourcePath The path to the file which should be moved * @param string $destinationPath The full destination path, so not just the destination parent node - * @throws \Sabre\DAV\Exception\BadRequest - * @throws \Sabre\DAV\Exception\ServiceUnavailable + * @throws FileLocked + * @throws Forbidden + * @throws InvalidPath * @throws \Sabre\DAV\Exception\Forbidden + * @throws \Sabre\DAV\Exception\Locked + * @throws \Sabre\DAV\Exception\NotFound + * @throws \Sabre\DAV\Exception\ServiceUnavailable * @return int */ public function move($sourcePath, $destinationPath) { @@ -274,6 +278,13 @@ class ObjectTree extends \Sabre\DAV\Tree { * * @param string $source * @param string $destination + * @throws FileLocked + * @throws Forbidden + * @throws InvalidPath + * @throws \Exception + * @throws \Sabre\DAV\Exception\Forbidden + * @throws \Sabre\DAV\Exception\Locked + * @throws \Sabre\DAV\Exception\NotFound * @throws \Sabre\DAV\Exception\ServiceUnavailable * @return void */ |