summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/systemtag/systemtagsbyidcollection.php2
-rw-r--r--apps/dav/lib/systemtag/systemtagsobjecttypecollection.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/systemtag/systemtagsbyidcollection.php b/apps/dav/lib/systemtag/systemtagsbyidcollection.php
index 79b0aa8fbbd..974d04efa5f 100644
--- a/apps/dav/lib/systemtag/systemtagsbyidcollection.php
+++ b/apps/dav/lib/systemtag/systemtagsbyidcollection.php
@@ -48,6 +48,8 @@ class SystemTagsByIdCollection implements ICollection {
/**
* @param string $name
+ * @param resource|string $data Initial payload
+ * @throws Forbidden
*/
function createFile($name, $data = null) {
throw new Forbidden('Cannot create tags by id');
diff --git a/apps/dav/lib/systemtag/systemtagsobjecttypecollection.php b/apps/dav/lib/systemtag/systemtagsobjecttypecollection.php
index 543a684c5bb..2a28b9c83aa 100644
--- a/apps/dav/lib/systemtag/systemtagsobjecttypecollection.php
+++ b/apps/dav/lib/systemtag/systemtagsobjecttypecollection.php
@@ -63,6 +63,8 @@ class SystemTagsObjectTypeCollection implements ICollection {
/**
* @param string $name
+ * @param resource|string $data Initial payload
+ * @throws Forbidden
*/
function createFile($name, $data = null) {
throw new Forbidden('Permission denied to create nodes');