mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-18 23:21:03 +00:00
Implement Twig_Extension_GlobalsInterface to remove deprecation
This commit is contained in:
parent
8315130a75
commit
f997ae6afb
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Twig;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
||||||
use Wallabag\CoreBundle\Repository\EntryRepository;
|
use Wallabag\CoreBundle\Repository\EntryRepository;
|
||||||
|
|
||||||
class WallabagExtension extends \Twig_Extension
|
class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
|
||||||
{
|
{
|
||||||
private $tokenStorage;
|
private $tokenStorage;
|
||||||
private $repository;
|
private $repository;
|
||||||
|
|
Loading…
Reference in a new issue