projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
29b020e
)
Fixed PHP 5.3 namespace dependency (Issues a warning in PHP 5.2).
author
Matt Agar
<matt.agar@gmail.com>
Mon, 4 Oct 2010 22:58:35 +0000 (09:58 +1100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 5 Oct 2010 05:55:46 +0000 (07:55 +0200)
lib/Twig/Template.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Template.php
b/lib/Twig/Template.php
index
2cc752d
..
8e5abe0
100644
(file)
--- a/
lib/Twig/Template.php
+++ b/
lib/Twig/Template.php
@@
-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.');
}
}