Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
fixed interface signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 3, 2011
1 parent 9c3da6d commit e44947d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Twig/Extensions/Node/Debug.php
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion lib/Twig/Extensions/Node/Trans.php
Expand Up @@ -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);

Expand Down

0 comments on commit e44947d

Please sign in to comment.