summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-10 16:43:10 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-10 16:43:37 +0100
commit19d1e0ebb91de343484614f7d05517305a524ac3 (patch)
tree80b2bfb65b8835490e181425b13ba9edf5f0ca52 /apps
parentffc49a24f02639afce362384fc3d6e4a0799d1d7 (diff)
downloadnextcloud-server-19d1e0ebb91de343484614f7d05517305a524ac3.tar.gz
nextcloud-server-19d1e0ebb91de343484614f7d05517305a524ac3.zip
adjust PHPDoc
Diffstat (limited to 'apps')
-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');