mirror of https://github.com/wallabag/wallabag.git
Implement Twig_Extension_GlobalsInterface to remove deprecation
This commit is contained in:
parent
8315130a75
commit
f997ae6afb
|
@ -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 New Issue