mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-23 00:29:00 +00:00
Remove list() usage in code
This commit is contained in:
@@ -704,7 +704,7 @@ class ExpressionParser
|
||||
private function parseTestExpression(Node $node): TestExpression
|
||||
{
|
||||
$stream = $this->parser->getStream();
|
||||
list($name, $test) = $this->getTest($node->getTemplateLine());
|
||||
[$name, $test] = $this->getTest($node->getTemplateLine());
|
||||
|
||||
$class = $this->getTestNodeClass($test);
|
||||
$arguments = null;
|
||||
|
||||
Reference in New Issue
Block a user