]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Implement Twig_Extension_GlobalsInterface to remove deprecation
authorNicolas LÅ“uillet <nicolas@loeuillet.org>
Thu, 21 Apr 2016 20:35:42 +0000 (22:35 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 23 Aug 2016 05:47:55 +0000 (07:47 +0200)
src/Wallabag/CoreBundle/Twig/WallabagExtension.php

index c116248ffa6833fb9f1a1141311ee4779280aca4..6e46c7018cab9df687aa7e9be754913e74bac817 100644 (file)
@@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Twig;
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
 use Wallabag\CoreBundle\Repository\EntryRepository;
 
-class WallabagExtension extends \Twig_Extension
+class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
 {
     private $tokenStorage;
     private $repository;