From ff7e99b986c7159799e0c2e64ddddf644d413d56 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Jul 2022 09:42:00 +0300 Subject: readability: import fixed html5-php --- .../vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/af_readability/vendor/masterminds/html5/src/HTML5/Parser') 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 0c213feb6..bed9d6eab 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 @@ -192,6 +192,7 @@ class StringInputStream implements InputStream * Advance the pointer. * This is part of the Iterator interface. */ + #[\ReturnTypeWillChange] public function next() { ++$this->char; @@ -200,6 +201,7 @@ class StringInputStream implements InputStream /** * Rewind to the start of the string. */ + #[\ReturnTypeWillChange] public function rewind() { $this->char = 0; @@ -210,6 +212,7 @@ class StringInputStream implements InputStream * * @return bool Whether the current pointer location is valid. */ + #[\ReturnTypeWillChange] public function valid() { return $this->char < $this->EOF; -- cgit v1.2.3