From: Fabien Potencier Date: Tue, 3 Jan 2012 20:52:22 +0000 (+0100) Subject: fixed doc (closes #577) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=029ebe93c356da58ba3cfa52e48a10223ffa7787;p=web%2Fkonrad%2Ftwig.git fixed doc (closes #577) --- diff --git a/doc/advanced.rst b/doc/advanced.rst index 19a5d41..e82a521 100644 --- a/doc/advanced.rst +++ b/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)