aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/xml/lib/Reader.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-11 09:21:19 +0000
committerMario <mario@mariovavti.com>2022-02-11 09:21:19 +0000
commit6d8aabab2347feabdd804b609dcd4513f09f78d4 (patch)
tree9bea1aba6caa85084ec664f498c445bb92d9457c /vendor/sabre/xml/lib/Reader.php
parente74359fcfe4d97efe72a811b45526a69edae3893 (diff)
downloadvolse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.tar.gz
volse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.tar.bz2
volse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.zip
composer libs minor version updates
Diffstat (limited to 'vendor/sabre/xml/lib/Reader.php')
-rw-r--r--vendor/sabre/xml/lib/Reader.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/sabre/xml/lib/Reader.php b/vendor/sabre/xml/lib/Reader.php
index 368e8ffd2..7871a74f5 100644
--- a/vendor/sabre/xml/lib/Reader.php
+++ b/vendor/sabre/xml/lib/Reader.php
@@ -56,7 +56,7 @@ class Reader extends XMLReader
public function parse(): array
{
$previousEntityState = null;
- $shouldCallLibxmlDisableEntityLoader = (\PHP_VERSION_ID < 80000);
+ $shouldCallLibxmlDisableEntityLoader = (\LIBXML_VERSION < 20900);
if ($shouldCallLibxmlDisableEntityLoader) {
$previousEntityState = libxml_disable_entity_loader(true);
}
@@ -92,11 +92,11 @@ class Reader extends XMLReader
/**
* parseGetElements parses everything in the current sub-tree,
- * and returns a an array of elements.
+ * and returns an array of elements.
*
* Each element has a 'name', 'value' and 'attributes' key.
*
- * If the the element didn't contain sub-elements, an empty array is always
+ * If the element didn't contain sub-elements, an empty array is always
* returned. If there was any text inside the element, it will be
* discarded.
*
@@ -249,7 +249,7 @@ class Reader extends XMLReader
*
* If the attributes are part of the same namespace, they will simply be
* short keys. If they are defined on a different namespace, the attribute
- * name will be retured in clark-notation.
+ * name will be returned in clark-notation.
*/
public function parseAttributes(): array
{
@@ -275,7 +275,7 @@ class Reader extends XMLReader
/**
* Returns the function that should be used to parse the element identified
- * by it's clark-notation name.
+ * by its clark-notation name.
*/
public function getDeserializerForElementName(string $name): callable
{