Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-04-08 14:21:46 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-04-08 17:36:37 +0300
commitdc99cc7eab5bcf767a45bda6a1cdec7374c09423 (patch)
tree063db75f83c8dbb6360b7b932660899912e03e22 /lib/public
parent3fc462e33207e0bec720507a0875686d45bec1fc (diff)
Harden appdata putcontent
If for whatever reason appdata got into a strange state this will at least propegate up and not make it do boom the next run. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleFile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php
index a3cd3245cc7..b00f5c482c6 100644
--- a/lib/public/Files/SimpleFS/ISimpleFile.php
+++ b/lib/public/Files/SimpleFS/ISimpleFile.php
@@ -80,6 +80,7 @@ interface ISimpleFile {
*
* @param string|resource $data
* @throws NotPermittedException
+ * @throws NotFoundException
* @since 11.0.0
*/
public function putContent($data);