From cead9c5f7f2843e0a39c726b8b405f6a7868f4ce Mon Sep 17 00:00:00 2001 From: Karlos Date: Fri, 2 Jun 2017 12:45:27 +0200 Subject: [PATCH] FIX Twig2.0 compatibility Not extending final function allow this function to work with Twig 2.0 --- src/Assetic/Extension/Twig/AsseticFilterFunction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Assetic/Extension/Twig/AsseticFilterFunction.php b/src/Assetic/Extension/Twig/AsseticFilterFunction.php index 2c2b13c3d..c61b43559 100644 --- a/src/Assetic/Extension/Twig/AsseticFilterFunction.php +++ b/src/Assetic/Extension/Twig/AsseticFilterFunction.php @@ -11,7 +11,7 @@ namespace Assetic\Extension\Twig; -class AsseticFilterFunction extends \Twig_SimpleFunction +class AsseticFilterFunction extends \Twig_Function { public function __construct($name, $options = array()) {