From e44947d7737ce1f1cc28a234428b673cf1e70f15 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 3 Jan 2011 12:26:50 +0100 Subject: [PATCH] fixed interface signature --- lib/Twig/Extensions/Node/Debug.php | 2 +- lib/Twig/Extensions/Node/Trans.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Twig/Extensions/Node/Debug.php b/lib/Twig/Extensions/Node/Debug.php index e564f82e..e8a1c0f1 100644 --- a/lib/Twig/Extensions/Node/Debug.php +++ b/lib/Twig/Extensions/Node/Debug.php @@ -29,7 +29,7 @@ public function __construct(Twig_Node_Expression $expr = null, $lineno, $tag = n * * @param Twig_Compiler A Twig_Compiler instance */ - public function compile($compiler) + public function compile(Twig_Compiler $compiler) { $compiler->addDebugInfo($this); diff --git a/lib/Twig/Extensions/Node/Trans.php b/lib/Twig/Extensions/Node/Trans.php index dce25c51..13ec4166 100644 --- a/lib/Twig/Extensions/Node/Trans.php +++ b/lib/Twig/Extensions/Node/Trans.php @@ -27,7 +27,7 @@ public function __construct(Twig_NodeInterface $body, Twig_NodeInterface $plural * * @param Twig_Compiler A Twig_Compiler instance */ - public function compile($compiler) + public function compile(Twig_Compiler $compiler) { $compiler->addDebugInfo($this);