From 029ebe93c356da58ba3cfa52e48a10223ffa7787 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 3 Jan 2012 21:52:22 +0100 Subject: [PATCH] fixed doc (closes #577) --- doc/advanced.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.2.5