This commit is contained in:
Fabien Potencier
2024-08-15 20:26:39 +02:00
parent 62cc16f548
commit 525461feb1
+1 -1
View File
@@ -39,7 +39,7 @@ final class MacroTokenParser extends AbstractTokenParser
$stream->expect(Token::BLOCK_END_TYPE);
$this->parser->pushLocalScope();
$body = $this->parser->subparse($this->decideBlockEnd(...), true);
if ($token = $stream->nextIf(/* Token::NAME_TYPE */ 5)) {
if ($token = $stream->nextIf(Token::NAME_TYPE)) {
$value = $token->getValue();
if ($value != $name) {