aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre')
-rw-r--r--vendor/sabre/vobject/composer.json2
-rw-r--r--vendor/sabre/vobject/lib/Component.php2
-rw-r--r--vendor/sabre/vobject/lib/Component/VCard.php2
-rw-r--r--vendor/sabre/vobject/lib/Node.php2
-rw-r--r--vendor/sabre/vobject/lib/Parameter.php2
-rw-r--r--vendor/sabre/vobject/lib/Parser/XML/Element/KeyValue.php4
-rw-r--r--vendor/sabre/vobject/lib/Property.php2
-rw-r--r--vendor/sabre/vobject/lib/Version.php2
8 files changed, 8 insertions, 10 deletions
diff --git a/vendor/sabre/vobject/composer.json b/vendor/sabre/vobject/composer.json
index b745b1fa6..b08684bce 100644
--- a/vendor/sabre/vobject/composer.json
+++ b/vendor/sabre/vobject/composer.json
@@ -34,7 +34,7 @@
"require" : {
"php" : "^7.1 || ^8.0",
"ext-mbstring" : "*",
- "sabre/xml" : "^2.1"
+ "sabre/xml" : "^2.1 || ^3.0 || ^4.0"
},
"require-dev" : {
"friendsofphp/php-cs-fixer": "~2.17.1",
diff --git a/vendor/sabre/vobject/lib/Component.php b/vendor/sabre/vobject/lib/Component.php
index a929387a3..ca82ad49b 100644
--- a/vendor/sabre/vobject/lib/Component.php
+++ b/vendor/sabre/vobject/lib/Component.php
@@ -368,7 +368,7 @@ class Component extends Node
*
* @param Xml\Writer $writer XML writer
*/
- public function xmlSerialize(Xml\Writer $writer)
+ public function xmlSerialize(Xml\Writer $writer): void
{
$components = [];
$properties = [];
diff --git a/vendor/sabre/vobject/lib/Component/VCard.php b/vendor/sabre/vobject/lib/Component/VCard.php
index 90a6df72f..82fab82bb 100644
--- a/vendor/sabre/vobject/lib/Component/VCard.php
+++ b/vendor/sabre/vobject/lib/Component/VCard.php
@@ -473,7 +473,7 @@ class VCard extends VObject\Document
*
* @param Xml\Writer $writer XML writer
*/
- public function xmlSerialize(Xml\Writer $writer)
+ public function xmlSerialize(Xml\Writer $writer): void
{
$propertiesByGroup = [];
diff --git a/vendor/sabre/vobject/lib/Node.php b/vendor/sabre/vobject/lib/Node.php
index 2041b2ac7..852ffced0 100644
--- a/vendor/sabre/vobject/lib/Node.php
+++ b/vendor/sabre/vobject/lib/Node.php
@@ -82,7 +82,7 @@ abstract class Node implements \IteratorAggregate, \ArrayAccess, \Countable, \Js
*
* @param Xml\Writer $writer XML writer
*/
- abstract public function xmlSerialize(Xml\Writer $writer);
+ abstract public function xmlSerialize(Xml\Writer $writer): void;
/**
* Call this method on a document if you're done using it.
diff --git a/vendor/sabre/vobject/lib/Parameter.php b/vendor/sabre/vobject/lib/Parameter.php
index c27b2aa47..0f0b5860c 100644
--- a/vendor/sabre/vobject/lib/Parameter.php
+++ b/vendor/sabre/vobject/lib/Parameter.php
@@ -334,7 +334,7 @@ class Parameter extends Node
*
* @param Xml\Writer $writer XML writer
*/
- public function xmlSerialize(Xml\Writer $writer)
+ public function xmlSerialize(Xml\Writer $writer): void
{
foreach (explode(',', $this->value) as $value) {
$writer->writeElement('text', $value);
diff --git a/vendor/sabre/vobject/lib/Parser/XML/Element/KeyValue.php b/vendor/sabre/vobject/lib/Parser/XML/Element/KeyValue.php
index c0bbf0d9b..e01772510 100644
--- a/vendor/sabre/vobject/lib/Parser/XML/Element/KeyValue.php
+++ b/vendor/sabre/vobject/lib/Parser/XML/Element/KeyValue.php
@@ -34,10 +34,8 @@ class KeyValue extends SabreXml\Element\KeyValue
* the next element.
*
* @param XML\Reader $reader
- *
- * @return mixed
*/
- public static function xmlDeserialize(SabreXml\Reader $reader)
+ public static function xmlDeserialize(SabreXml\Reader $reader): array
{
// If there's no children, we don't do anything.
if ($reader->isEmptyElement) {
diff --git a/vendor/sabre/vobject/lib/Property.php b/vendor/sabre/vobject/lib/Property.php
index 56096dafe..f6550246a 100644
--- a/vendor/sabre/vobject/lib/Property.php
+++ b/vendor/sabre/vobject/lib/Property.php
@@ -318,7 +318,7 @@ abstract class Property extends Node
*
* @param Xml\Writer $writer XML writer
*/
- public function xmlSerialize(Xml\Writer $writer)
+ public function xmlSerialize(Xml\Writer $writer): void
{
$parameters = [];
diff --git a/vendor/sabre/vobject/lib/Version.php b/vendor/sabre/vobject/lib/Version.php
index 92882f2f1..63349e47e 100644
--- a/vendor/sabre/vobject/lib/Version.php
+++ b/vendor/sabre/vobject/lib/Version.php
@@ -14,5 +14,5 @@ class Version
/**
* Full version number.
*/
- const VERSION = '4.5.1';
+ public const VERSION = '4.5.3';
}