Skip to content
Browse files

fixed interface signature

  • Loading branch information...
1 parent 9c3da6d commit e44947d7737ce1f1cc28a234428b673cf1e70f15 @fabpot fabpot committed Jan 3, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Twig/Extensions/Node/Debug.php
  2. +1 −1 lib/Twig/Extensions/Node/Trans.php
View
2 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);
View
2 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);

0 comments on commit e44947d

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