Skip to content

Commit

Permalink
renamed an internal class
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Nov 23, 2011
1 parent c90b3ec commit 620b29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Twig/Node/For.php
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/Twig/Node/For/Loop.php → lib/Twig/Node/ForLoop.php
Expand Up @@ -15,7 +15,7 @@
* @package twig
* @author Fabien Potencier <fabien@symfony.com>
*/
class Twig_Node_For_Loop extends Twig_Node
class Twig_Node_ForLoop extends Twig_Node
{
public function __construct($lineno, $tag = null)
{
Expand Down

0 comments on commit 620b29a

Please sign in to comment.