aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/xml/lib/XmlDeserializable.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/xml/lib/XmlDeserializable.php')
-rw-r--r--vendor/sabre/xml/lib/XmlDeserializable.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/sabre/xml/lib/XmlDeserializable.php b/vendor/sabre/xml/lib/XmlDeserializable.php
index fa857e82c..83f33db1e 100644
--- a/vendor/sabre/xml/lib/XmlDeserializable.php
+++ b/vendor/sabre/xml/lib/XmlDeserializable.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 XmlDeserializable {
-
+interface XmlDeserializable
+{
/**
* The deserialize method is called during xml parsing.
*
@@ -30,9 +32,7 @@ interface XmlDeserializable {
* $reader->parseInnerTree() will parse the entire sub-tree, and advance to
* the next element.
*
- * @param Reader $reader
* @return mixed
*/
- static function xmlDeserialize(Reader $reader);
-
+ public static function xmlDeserialize(Reader $reader);
}