summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php')
-rw-r--r--apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php
index d76e65aa232..c973908f5a8 100644
--- a/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php
+++ b/apps/dav/lib/DAV/Sharing/Xml/ShareRequest.php
@@ -38,12 +38,12 @@ class ShareRequest implements XmlDeserializable {
* @param array $set
* @param array $remove
*/
- function __construct(array $set, array $remove) {
+ public function __construct(array $set, array $remove) {
$this->set = $set;
$this->remove = $remove;
}
- static function xmlDeserialize(Reader $reader) {
+ public static function xmlDeserialize(Reader $reader) {
$elements = $reader->parseInnerTree([
'{' . Plugin::NS_OWNCLOUD. '}set' => 'Sabre\\Xml\\Element\\KeyValue',
'{' . Plugin::NS_OWNCLOUD . '}remove' => 'Sabre\\Xml\\Element\\KeyValue',