]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Twig/WallabagExtension.php
Implement Twig_Extension_GlobalsInterface to remove deprecation
[github/wallabag/wallabag.git] / 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;