diff --git a/src/Parsing/ParserState.php b/src/Parsing/ParserState.php index 88f533a8..e90650d5 100644 --- a/src/Parsing/ParserState.php +++ b/src/Parsing/ParserState.php @@ -461,14 +461,4 @@ private function strsplit(string $string): array return $result; } - - /** - * @return int<0, max>|false - */ - private function strpos(string $haystack, string $needle, int $offset) - { - return $this->parserSettings->hasMultibyteSupport() - ? \mb_strpos($haystack, $needle, $offset, $this->charset) - : \strpos($haystack, $needle, $offset); - } }