Skip to content

Commit 6140b57

Browse files
committed
revert some stuff
1 parent 2c05860 commit 6140b57

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Parser/TokenIterator.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,9 @@ public function joinUntil(int ...$tokenType): string
239239
}
240240

241241

242-
public function next(bool $skipIrrelevant = true): void
242+
public function next(): void
243243
{
244244
$this->index++;
245-
if (!$skipIrrelevant) {
246-
return;
247-
}
248-
249245
$this->skipIrrelevantTokens();
250246
}
251247

0 commit comments

Comments
 (0)