diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-21 22:35:42 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-23 07:47:55 +0200 |
commit | f997ae6afb72e6a2f3d8ff8bd30a354e35696410 (patch) | |
tree | 4fdeb0358e55a970d12a749bfacbbd155b3b5b6b /src/Wallabag | |
parent | 8315130a75c8f411f76134b6205a017409583d50 (diff) | |
download | wallabag-f997ae6afb72e6a2f3d8ff8bd30a354e35696410.tar.gz wallabag-f997ae6afb72e6a2f3d8ff8bd30a354e35696410.tar.zst wallabag-f997ae6afb72e6a2f3d8ff8bd30a354e35696410.zip |
Implement Twig_Extension_GlobalsInterface to remove deprecation
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Twig/WallabagExtension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index c116248f..6e46c701 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Twig; | |||
5 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; | 5 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
6 | use Wallabag\CoreBundle\Repository\EntryRepository; | 6 | use Wallabag\CoreBundle\Repository\EntryRepository; |
7 | 7 | ||
8 | class WallabagExtension extends \Twig_Extension | 8 | class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface |
9 | { | 9 | { |
10 | private $tokenStorage; | 10 | private $tokenStorage; |
11 | private $repository; | 11 | private $repository; |