mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-08 21:05:37 +00:00
Remove usage of list() in favor of []
This commit is contained in:
@@ -78,7 +78,7 @@ EOF
|
||||
$node = new SetNode(false, $names, $values, 1);
|
||||
$tests[] = [$node, <<<EOF
|
||||
// line 1
|
||||
list(\$context["foo"], \$context["bar"]) = ["foo", {$this->getVariableGetter('bar')}];
|
||||
[\$context["foo"], \$context["bar"]] = ["foo", {$this->getVariableGetter('bar')}];
|
||||
EOF
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user