Skip to content

Commit 2849686

Browse files
authored
[TASK] Drop the unused ParserState::strpos() method (#1202)
1 parent b29b16d commit 2849686

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Parsing/ParserState.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,4 @@ private function strsplit(string $string): array
461461

462462
return $result;
463463
}
464-
465-
/**
466-
* @return int<0, max>|false
467-
*/
468-
private function strpos(string $haystack, string $needle, int $offset)
469-
{
470-
return $this->parserSettings->hasMultibyteSupport()
471-
? \mb_strpos($haystack, $needle, $offset, $this->charset)
472-
: \strpos($haystack, $needle, $offset);
473-
}
474464
}

0 commit comments

Comments
 (0)