fixed typo
authorFabien Potencier <fabien.potencier@gmail.com>
Fri, 1 Oct 2010 18:34:31 +0000 (20:34 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Fri, 1 Oct 2010 18:34:31 +0000 (20:34 +0200)
lib/Twig/Node/Expression/ExtensionReference.php

index bef9da7..3a65d07 100644 (file)
@@ -30,9 +30,6 @@ class Twig_Node_Expression_ExtensionReference extends Twig_Node_Expression
      */
     public function compile($compiler)
     {
-        $compiler
-            ->addDebugInfo($this)
-            ->raw(sprintf("\$this->env->getExtension('%s')", $this['name']))
-        ;
+        $compiler->raw(sprintf("\$this->env->getExtension('%s')", $this['name']));
     }
 }