Fixed PHP 5.3 namespace dependency (Issues a warning in PHP 5.2).

This commit is contained in:
Matt Agar
2010-10-05 09:58:35 +11:00
committed by Fabien Potencier
parent 29b020eb2f
commit 711f92fcc8
+1 -1
View File
@@ -37,7 +37,7 @@ abstract class Twig_Template implements Twig_TemplateInterface
if (false !== $parent = $this->getParent($context)) {
return $parent->getBlock($name, $context, $blocks);
} else {
throw new \LogicException('This template has no parent.');
throw new LogicException('This template has no parent.');
}
}