This commit is contained in:
Paolo A
2024-08-13 13:44:16 +00:00
parent 1bbb23088d
commit e796d76612
4001 changed files with 30101 additions and 40075 deletions

View File

@@ -37,7 +37,7 @@ class TokenStream
private array $used = [];
private int $cursor = 0;
private $peeked;
private ?Token $peeked;
private bool $peeking = false;
/**
@@ -145,7 +145,7 @@ class TokenStream
/**
* Skips next whitespace if any.
*/
public function skipWhitespace()
public function skipWhitespace(): void
{
$peek = $this->getPeek();