summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-02 11:26:36 +0100
committerGitHub <noreply@github.com>2018-03-02 11:26:36 +0100
commit158aac00a0c286118b7701f4a15c61740179a80b (patch)
tree6dabc261eba01e22b5092e6c92c86162445f2b4f /lib/public
parent064cb5ebce39ab68b41755d12fb08198a9762fec (diff)
parent8b5997483c852bcee6b44188982073c8213de25f (diff)
downloadnextcloud-server-158aac00a0c286118b7701f4a15c61740179a80b.tar.gz
nextcloud-server-158aac00a0c286118b7701f4a15c61740179a80b.zip
Merge pull request #8289 from nextcloud/appdata_hardening
AppData hardening
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleFile.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php
index e9182377cb5..e03509d7abf 100644
--- a/lib/public/Files/SimpleFS/ISimpleFile.php
+++ b/lib/public/Files/SimpleFS/ISimpleFile.php
@@ -22,6 +22,7 @@
*/
namespace OCP\Files\SimpleFS;
+use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException;
/**
@@ -67,6 +68,8 @@ interface ISimpleFile {
/**
* Get the content
*
+ * @throws NotPermittedException
+ * @throws NotFoundException
* @return string
* @since 11.0.0
*/