Skip to content

Commit

Permalink
Fix the compatibility with Twig 2
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Aug 31, 2015
1 parent 2aedd85 commit 0855fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Assetic/Extension/Twig/AsseticFilterFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AsseticFilterFunction extends \Twig_SimpleFunction
{
public function __construct($name, $options = array())
{
parent::__construct($name, '\Assetic\Extension\Twig\AsseticFilterInvoker::invoke', array_merge($options, array(
parent::__construct($name, null, array_merge($options, array(
'needs_environment' => false,
'needs_context' => false,
'node_class' => '\Assetic\Extension\Twig\AsseticFilterNode',
Expand Down

0 comments on commit 0855fcf

Please sign in to comment.