diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 18:03:35 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 18:03:35 -0600 |
commit | 7f73ee0764b0b00e7235a7f6b017cc071cdc0fe7 (patch) | |
tree | cecb128396af5a801f097fd081d11e9ddf4aaa78 /lib/public | |
parent | a422a59f991daab9f87c628ad678455909d38622 (diff) | |
download | nextcloud-server-7f73ee0764b0b00e7235a7f6b017cc071cdc0fe7.tar.gz nextcloud-server-7f73ee0764b0b00e7235a7f6b017cc071cdc0fe7.zip |
Add missing PHPDoc and properly throw exception
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/Storage.php | 1 | ||||
-rw-r--r-- | lib/public/Files/Storage/ILockingStorage.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index cf67879908c..1532c84b621 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -425,6 +425,7 @@ interface Storage extends IStorage { * @param string $path The path of the file to acquire the lock for * @param int $type \OCP\Lock\ILockingProvider::LOCK_SHARED or \OCP\Lock\ILockingProvider::LOCK_EXCLUSIVE * @param \OCP\Lock\ILockingProvider $provider + * @throws \OCP\Lock\LockedException * @since 8.1.0 */ public function releaseLock($path, $type, ILockingProvider $provider); diff --git a/lib/public/Files/Storage/ILockingStorage.php b/lib/public/Files/Storage/ILockingStorage.php index 635c607537f..ac61e9a062e 100644 --- a/lib/public/Files/Storage/ILockingStorage.php +++ b/lib/public/Files/Storage/ILockingStorage.php @@ -46,6 +46,7 @@ interface ILockingStorage { * @param string $path The path of the file to acquire the lock for * @param int $type \OCP\Lock\ILockingProvider::LOCK_SHARED or \OCP\Lock\ILockingProvider::LOCK_EXCLUSIVE * @param \OCP\Lock\ILockingProvider $provider + * @throws \OCP\Lock\LockedException * @since 9.0.0 */ public function releaseLock($path, $type, ILockingProvider $provider); |