From eddbdb8f21e9bbd1ff1a6b20140cdad93b6156d3 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 19 Jun 2015 10:51:36 +0200 Subject: Fix missing @since tags in OCP --- lib/public/files/folder.php | 1 + lib/public/files/locknotacquiredexception.php | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'lib/public/files') 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"; } -- cgit v1.2.3