mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
fixed type hinting for Twig_Environment::addFilter() method
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
* 0.9.8
|
||||
|
||||
* fixed type hinting for Twig_Environment::addFilter() method
|
||||
|
||||
* 0.9.7 (2010-06-12)
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user