Commit 9d6202ea by Alexander Makarov

Removed unused variable initialization

parent 9ec740ea
...@@ -148,7 +148,6 @@ class Extension extends \Twig_Extension ...@@ -148,7 +148,6 @@ class Extension extends \Twig_Extension
if (isset($this->aliases[$className])) { if (isset($this->aliases[$className])) {
return $this->aliases[$className]; return $this->aliases[$className];
} }
$resolvedClassName = null;
foreach ($this->namespaces as $namespace) { foreach ($this->namespaces as $namespace) {
$resolvedClassName = $namespace . '\\' . $className; $resolvedClassName = $namespace . '\\' . $className;
if (class_exists($resolvedClassName)) { if (class_exists($resolvedClassName)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment