mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Fixed PHP 5.3 namespace dependency (Issues a warning in PHP 5.2).
This commit is contained in:
committed by
Fabien Potencier
parent
29b020eb2f
commit
711f92fcc8
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user