aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-28 21:45:14 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-28 21:45:14 +0200
commitdcc65bbacb81801b5e138795c18ef9e740dbd26c (patch)
tree52f0e3879dac66ee7879abeb8c6db9cd6eb0b33c /vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php
parentfeaad50b6c10cd19cffb63609d6eeada3d185fd7 (diff)
downloadvolse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.tar.gz
volse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.tar.bz2
volse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.zip
update to sabre/dav to version 3.2.0
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php')
-rw-r--r--vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php b/vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php
index 56b418db6..7641f3739 100644
--- a/vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php
+++ b/vendor/sabre/dav/lib/DAV/Xml/Property/SupportedMethodSet.php
@@ -32,16 +32,11 @@ class SupportedMethodSet implements XmlSerializable, HtmlOutput {
/**
* Creates the property
*
- * Any reports passed in the constructor
- * should be valid report-types in clark-notation.
- *
- * Either a string or an array of strings must be passed.
- *
- * @param string|string[] $methods
+ * @param string[] $methods
*/
- function __construct($methods = null) {
+ function __construct(array $methods) {
- $this->methods = (array)$methods;
+ $this->methods = $methods;
}