Skip to content

Commit c9ffa75

Browse files
wouterjnicolas-grekas
authored andcommitted
[Components] Convert to native return types
1 parent 6ba609e commit c9ffa75

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: Parser/Reader.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ public function getSubstring(int $length, int $offset = 0): string
5353
return substr($this->source, $this->position + $offset, $length);
5454
}
5555

56-
/**
57-
* @return int|false
58-
*/
59-
public function getOffset(string $string): int|bool
56+
public function getOffset(string $string): int|false
6057
{
6158
$position = strpos($this->source, $string, $this->position);
6259

0 commit comments

Comments
 (0)