Skip to content
Browse files

fixed doc (closes #577)

  • Loading branch information...
1 parent b626798 commit 029ebe93c356da58ba3cfa52e48a10223ffa7787 @fabpot committed Jan 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/advanced.rst
View
4 doc/advanced.rst
@@ -446,9 +446,9 @@ The ``Project_Set_Node`` class itself is rather simple::
class Project_Set_Node extends Twig_Node
{
- public function __construct($name, Twig_Node_Expression $value, $lineno)
+ public function __construct($name, Twig_Node_Expression $value, $lineno, $tag = null)
{
- parent::__construct(array('value' => $value), array('name' => $name), $lineno);
+ parent::__construct(array('value' => $value), array('name' => $name), $lineno, $tag);
}
public function compile(Twig_Compiler $compiler)

0 comments on commit 029ebe9

Please sign in to comment.
Something went wrong with that request. Please try again.