summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser
diff options
context:
space:
mode:
authorfox <[email protected]>2022-12-13 19:45:50 +0300
committerfox <[email protected]>2022-12-13 19:45:50 +0300
commit313f12ae9306fc62bbbfa10310a2feb20aa274c5 (patch)
tree8b92790b1fe77ad28f721831a8cdbcc7c4409f3c /plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser
parent72e64bdb780f62ffb593df32fd83334ae588a837 (diff)
parent457553eeac9cb8e261cd96680d0bb85e1d7555c1 (diff)
Merge pull request 'Bump af_readability 'html5-php' dependency to latest.' (#94) from wn/tt-rss:feature/bump-af_readability-masterminds-html5 into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/94
Diffstat (limited to 'plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser')
-rw-r--r--plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php b/plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php
index bed9d6eab..75b088610 100644
--- a/plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php
+++ b/plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php
@@ -183,6 +183,7 @@ class StringInputStream implements InputStream
*
* @return string The current character.
*/
+ #[\ReturnTypeWillChange]
public function current()
{
return $this->data[$this->char];
@@ -192,7 +193,7 @@ class StringInputStream implements InputStream
* Advance the pointer.
* This is part of the Iterator interface.
*/
- #[\ReturnTypeWillChange]
+ #[\ReturnTypeWillChange]
public function next()
{
++$this->char;
@@ -201,7 +202,7 @@ class StringInputStream implements InputStream
/**
* Rewind to the start of the string.
*/
- #[\ReturnTypeWillChange]
+ #[\ReturnTypeWillChange]
public function rewind()
{
$this->char = 0;
@@ -212,7 +213,7 @@ class StringInputStream implements InputStream
*
* @return bool Whether the current pointer location is valid.
*/
- #[\ReturnTypeWillChange]
+ #[\ReturnTypeWillChange]
public function valid()
{
return $this->char < $this->EOF;
@@ -327,6 +328,7 @@ class StringInputStream implements InputStream
return false;
}
+ #[\ReturnTypeWillChange]
public function key()
{
return $this->char;