From: Fabien Potencier Date: Mon, 14 Jun 2010 11:18:40 +0000 (+0200) Subject: fixed type hinting for Twig_Environment::addFilter() method X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=7d641d61f65d53b2eafdb0ee907edd5f2865b34f;p=web%2Fkonrad%2Ftwig.git fixed type hinting for Twig_Environment::addFilter() method --- diff --git a/CHANGELOG b/CHANGELOG index 6b77909..36d12d2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ * 0.9.8 + * fixed type hinting for Twig_Environment::addFilter() method * 0.9.7 (2010-06-12) diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 45385c1..f8244cd 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -383,7 +383,7 @@ class Twig_Environment return $this->visitors; } - public function addFilter($name, Twig_NodeFilter $filter) + public function addFilter($name, Twig_FilterInterface $filter) { if (null === $this->filters) { $this->getFilters();