Skip to content

Commit 56b631f

Browse files
committed
Fix cache-extra impl
1 parent 206f2c7 commit 56b631f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

TokenParser/CacheTokenParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function parse(Token $token): Node
3535
}
3636

3737
$stream->next();
38-
$stream->expect(Token::PUNCTUATION_TYPE, '(');
38+
$stream->expect(Token::OPERATOR_TYPE, '(');
3939
$line = $stream->getCurrent()->getLine();
4040
if ($stream->test(Token::PUNCTUATION_TYPE, ')')) {
4141
throw new SyntaxError(\sprintf('The "%s" modifier takes exactly one argument (0 given).', $k), $line, $stream->getSourceContext());

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require": {
1818
"php": ">=8.1.0",
1919
"symfony/cache": "^5.4|^6.4|^7.0",
20-
"twig/twig": "^3.20|^4.0"
20+
"twig/twig": "^3.21|^4.0"
2121
},
2222
"require-dev": {
2323
"symfony/phpunit-bridge": "^6.4|^7.0"

0 commit comments

Comments
 (0)