aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/xml/lib/Reader.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-03-29 11:42:53 +0200
committerMario Vavti <mario@mariovavti.com>2022-03-29 11:42:53 +0200
commit0784cd593a39a4fc297e8a82f7e79bc8019a0868 (patch)
tree22182afb37cf460f8208fff9d276a0672add3185 /vendor/sabre/xml/lib/Reader.php
parent0e2e9321025f87fe9587f3d183adaea6185e4e20 (diff)
parent9c5d2ee5630dd7033904039dcd1e92db8821b644 (diff)
downloadvolse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.tar.gz
volse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.tar.bz2
volse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.zip
Merge branch '7.2RC'7.2
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
{