Skip to content

Commit 2c05860

Browse files
committed
revert some stuff
1 parent bfa36e1 commit 2c05860

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Parser/TokenIterator.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ class TokenIterator
2424
private $savePoints = [];
2525

2626
/** @var list<int> */
27-
private $skippedTokenTypes = [
28-
Lexer::TOKEN_HORIZONTAL_WS,
29-
];
27+
private $skippedTokenTypes = [Lexer::TOKEN_HORIZONTAL_WS];
3028

3129
/** @var string|null */
3230
private $newline = null;
@@ -305,11 +303,6 @@ public function rollback(): void
305303
$this->index = $index;
306304
}
307305

308-
// public function popCurrentToken(): array {
309-
// $this->tokens = array_splice($this->)
310-
// }
311-
312-
313306
/**
314307
* @throws ParserException
315308
*/

0 commit comments

Comments
 (0)