Skip to content

Commit 9a2a7c4

Browse files
committed
Types fixed
1 parent 3cf0e96 commit 9a2a7c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Parser/Cursor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function peekOffset(): int
3434
return $this->peekOffset;
3535
}
3636

37-
private function substr($start, $length = 1): string
37+
private function substr(int $start, int $length = 1): string
3838
{
3939
return implode('', array_slice($this->buffer, $start, $length));
4040
}

0 commit comments

Comments
 (0)