aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/xml/lib/XmlSerializable.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/xml/lib/XmlSerializable.php')
-rw-r--r--vendor/sabre/xml/lib/XmlSerializable.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/vendor/sabre/xml/lib/XmlSerializable.php b/vendor/sabre/xml/lib/XmlSerializable.php
index 3e2c528b9..b22f8d5e8 100644
--- a/vendor/sabre/xml/lib/XmlSerializable.php
+++ b/vendor/sabre/xml/lib/XmlSerializable.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
namespace Sabre\Xml;
/**
@@ -10,8 +12,8 @@ namespace Sabre\Xml;
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-interface XmlSerializable {
-
+interface XmlSerializable
+{
/**
* The xmlSerialize method is called during xml writing.
*
@@ -27,10 +29,6 @@ interface XmlSerializable {
* This allows serializers to be re-used for different element names.
*
* If you are opening new elements, you must also close them again.
- *
- * @param Writer $writer
- * @return void
*/
- function xmlSerialize(Writer $writer);
-
+ public function xmlSerialize(Writer $writer);
}