forked from wallabag/wallabag
Remove some deprecation
This commit is contained in:
committed by
Kevin Decherf
parent
6c63b0e8f5
commit
b41696fd1c
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
||||
|
||||
/**
|
||||
@ -15,12 +15,9 @@ use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
||||
*/
|
||||
class UserLocaleListener
|
||||
{
|
||||
/**
|
||||
* @var Session
|
||||
*/
|
||||
private $session;
|
||||
private SessionInterface $session;
|
||||
|
||||
public function __construct(Session $session)
|
||||
public function __construct(SessionInterface $session)
|
||||
{
|
||||
$this->session = $session;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user