From e29a76bc79dc252b5659e38287f07c56ffa3e314 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 4 Dec 2019 12:09:33 +0100 Subject: Use file path for direct editing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/public/DirectEditing/IToken.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/public') diff --git a/lib/public/DirectEditing/IToken.php b/lib/public/DirectEditing/IToken.php index a7eb415e28e..dc5f1cf748f 100644 --- a/lib/public/DirectEditing/IToken.php +++ b/lib/public/DirectEditing/IToken.php @@ -25,6 +25,7 @@ namespace OCP\DirectEditing; use OCP\Files\File; +use OCP\Files\NotFoundException; /** * @since 18.0.0 @@ -65,6 +66,7 @@ interface IToken { * * @since 18.0.0 * @return File + * @throws NotFoundException */ public function getFile(): File; -- cgit v1.2.3