fixed type hinting for Twig_Environment::addFilter() method

This commit is contained in:
Fabien Potencier
2010-06-14 13:18:40 +02:00
parent fc0387606c
commit 7d641d61f6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
* 0.9.8
* fixed type hinting for Twig_Environment::addFilter() method
* 0.9.7 (2010-06-12)
+1 -1
View File
@@ -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();