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 1d80cde commit fd48a33Copy full SHA for fd48a33
src/Parser/TokenIterator.php
@@ -86,7 +86,7 @@ public function consumeTokenType(int $tokenType)
86
87
$this->index++;
88
89
- if ($this->tokens[$this->index][Lexer::TYPE_OFFSET] === Lexer::TOKEN_HORIZONTAL_WS) {
+ if (($this->tokens[$this->index][Lexer::TYPE_OFFSET] ?? -1) === Lexer::TOKEN_HORIZONTAL_WS) {
90
91
}
92
0 commit comments