From e04739bbc312a2ce67fe500b23bc02ee378bf325 Mon Sep 17 00:00:00 2001 From: fabien Date: Thu, 22 Oct 2009 01:47:20 +0000 Subject: [PATCH] made Node constructors coherent git-svn-id: http://svn.twig-project.org/trunk@89 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- lib/Twig/Node/Print.php | 4 ++-- lib/Twig/Node/Set.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Twig/Node/Print.php b/lib/Twig/Node/Print.php index ed34f01..df4a6ae 100644 --- a/lib/Twig/Node/Print.php +++ b/lib/Twig/Node/Print.php @@ -21,9 +21,9 @@ class Twig_Node_Print extends Twig_Node implements Twig_NodeListInterface { protected $expr; - public function __construct(Twig_Node_Expression $expr, $lineno) + public function __construct(Twig_Node_Expression $expr, $lineno, $tag = null) { - parent::__construct($lineno); + parent::__construct($lineno, $tag); $this->expr = $expr; } diff --git a/lib/Twig/Node/Set.php b/lib/Twig/Node/Set.php index b91e476..6e3503b 100644 --- a/lib/Twig/Node/Set.php +++ b/lib/Twig/Node/Set.php @@ -6,9 +6,9 @@ class Twig_Node_Set extends Twig_Node protected $value; protected $isMultitarget; - public function __construct($isMultitarget, $names, Twig_Node_Expression $value, $lineno) + public function __construct($isMultitarget, $names, Twig_Node_Expression $value, $lineno, $tag = null) { - parent::__construct($lineno); + parent::__construct($lineno, $tag); $this->isMultitarget = $isMultitarget; $this->names = $names; -- 1.7.2.5