diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-19 10:51:36 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-19 10:51:36 +0200 |
commit | eddbdb8f21e9bbd1ff1a6b20140cdad93b6156d3 (patch) | |
tree | 0e45f86668128028a7de6e4fa841adb03c0edd1f /lib/public/files | |
parent | ba43ec974cf829262279c87b03cdcbd68f3e2564 (diff) | |
download | nextcloud-server-eddbdb8f21e9bbd1ff1a6b20140cdad93b6156d3.tar.gz nextcloud-server-eddbdb8f21e9bbd1ff1a6b20140cdad93b6156d3.zip |
Fix missing @since tags in OCP
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/folder.php | 1 | ||||
-rw-r--r-- | lib/public/files/locknotacquiredexception.php | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/public/files/folder.php b/lib/public/files/folder.php index f5f91e8158c..533e490634f 100644 --- a/lib/public/files/folder.php +++ b/lib/public/files/folder.php @@ -107,6 +107,7 @@ interface Folder extends Node { * @param string $path relative path of the new file * @return \OCP\Files\File * @throws \OCP\Files\NotPermittedException + * @since 6.0.0 */ public function newFile($path); diff --git a/lib/public/files/locknotacquiredexception.php b/lib/public/files/locknotacquiredexception.php index 66e131ab1e5..d078ff34818 100644 --- a/lib/public/files/locknotacquiredexception.php +++ b/lib/public/files/locknotacquiredexception.php @@ -41,12 +41,20 @@ class LockNotAcquiredException extends \Exception { /** @var integer $lockType The type of the lock that was attempted */ public $lockType; + /** + * @since 7.0.0 + */ public function __construct($path, $lockType, $code = 0, \Exception $previous = null) { $message = \OC::$server->getL10N('core')->t('Could not obtain lock type %d on "%s".', array($lockType, $path)); parent::__construct($message, $code, $previous); } - // custom string representation of object + /** + * custom string representation of object + * + * @return string + * @since 7.0.0 + */ public function __toString() { return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; } |