Skip to content

Commit

Permalink
Merge pull request #754 from stof/fix_twig_2
Browse files Browse the repository at this point in the history
Fix the compatibility with Twig 2
  • Loading branch information
stof committed Aug 31, 2015
2 parents 2aedd85 + 0855fcf commit 56cb5d6
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 56cb5d6

Please sign in to comment.