From: Fabien Potencier Date: Wed, 23 Nov 2011 22:45:02 +0000 (+0100) Subject: renamed an internal class X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=620b29a4d5a5cc50ccd810f0a37d8e5392776e6b;p=web%2Fkonrad%2Ftwig.git renamed an internal class --- diff --git a/lib/Twig/Node/For.php b/lib/Twig/Node/For.php index 0b0e1b6..c8565f1 100644 --- a/lib/Twig/Node/For.php +++ b/lib/Twig/Node/For.php @@ -22,7 +22,7 @@ class Twig_Node_For extends Twig_Node public function __construct(Twig_Node_Expression_AssignName $keyTarget, Twig_Node_Expression_AssignName $valueTarget, Twig_Node_Expression $seq, Twig_Node_Expression $ifexpr = null, Twig_NodeInterface $body, Twig_NodeInterface $else = null, $lineno, $tag = null) { - $body->setNode('_for_loop', $this->loop = new Twig_Node_For_Loop($lineno, $tag)); + $body->setNode('_for_loop', $this->loop = new Twig_Node_ForLoop($lineno, $tag)); if (null !== $ifexpr) { $body = new Twig_Node_If(new Twig_Node(array($ifexpr, $body)), null, $lineno, $tag); diff --git a/lib/Twig/Node/For/Loop.php b/lib/Twig/Node/ForLoop.php similarity index 97% rename from lib/Twig/Node/For/Loop.php rename to lib/Twig/Node/ForLoop.php index 45d754e..38f2e85 100644 --- a/lib/Twig/Node/For/Loop.php +++ b/lib/Twig/Node/ForLoop.php @@ -15,7 +15,7 @@ * @package twig * @author Fabien Potencier */ -class Twig_Node_For_Loop extends Twig_Node +class Twig_Node_ForLoop extends Twig_Node { public function __construct($lineno, $tag = null) {