We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf0e96 commit 9a2a7c4Copy full SHA for 9a2a7c4
1 file changed
src/Parser/Cursor.php
@@ -34,7 +34,7 @@ public function peekOffset(): int
34
return $this->peekOffset;
35
}
36
37
- private function substr($start, $length = 1): string
+ private function substr(int $start, int $length = 1): string
38
{
39
return implode('', array_slice($this->buffer, $start, $length));
40
0 commit comments