Remove list() usage in code

This commit is contained in:
Fabien Potencier
2024-01-05 12:46:24 +01:00
parent 9c0897fa2c
commit af8ec178b6
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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;