From 19d1e0ebb91de343484614f7d05517305a524ac3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Thu, 10 Dec 2015 16:43:10 +0100 Subject: [PATCH] adjust PHPDoc --- apps/dav/lib/systemtag/systemtagsbyidcollection.php | 2 ++ apps/dav/lib/systemtag/systemtagsobjecttypecollection.php | 2 ++ 2 files changed, 4 insertions(+) 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'); -- 2.39.5