Commaaa2
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user