Remove const optimization

This commit is contained in:
Fabien Potencier
2024-08-12 09:39:57 +02:00
parent 93e66ad141
commit cd0ac3cc0a
13 changed files with 106 additions and 106 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ final class WithTokenParser extends AbstractTokenParser
$only = false;
if (!$stream->test(/* Token::BLOCK_END_TYPE */ 3)) {
$variables = $this->parser->getExpressionParser()->parseExpression();
$only = (bool) $stream->nextIf(/* Token::NAME_TYPE */ 5, 'only');
$only = (bool) $stream->nextIf(Token::NAME_TYPE, 'only');
}
$stream->expect(/* Token::BLOCK_END_TYPE */ 3);