Get rid of naming clash

Static code analysis tool did not like this.
Looks like it was wrong before. Tests unchanged though.
This commit is contained in:
jeroendedauw
2014-07-30 22:49:24 +02:00
parent 3e50672029
commit d8e1077fd1
+2 -2
View File
@@ -181,14 +181,14 @@ class Twig_Compiler implements Twig_CompilerInterface
} elseif (is_array($value)) {
$this->raw('array(');
$first = true;
foreach ($value as $key => $value) {
foreach ($value as $key => $v) {
if (!$first) {
$this->raw(', ');
}
$first = false;
$this->repr($key);
$this->raw(' => ');
$this->repr($value);
$this->repr($v);
}
$this->raw(')');
} else {