Remove some deprecation

This commit is contained in:
Jeremy Benoist
2022-11-14 23:11:46 +01:00
committed by Kevin Decherf
parent 6c63b0e8f5
commit b41696fd1c
6 changed files with 14 additions and 17 deletions

View File

@ -4,19 +4,16 @@ namespace Wallabag\CoreBundle\Helper;
use Pagerfanta\Adapter\AdapterInterface;
use Pagerfanta\Pagerfanta;
use Symfony\Component\Routing\Router;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\UserBundle\Entity\User;
class PreparePagerForEntries
{
private $router;
private $tokenStorage;
public function __construct(TokenStorageInterface $tokenStorage, Router $router)
public function __construct(TokenStorageInterface $tokenStorage)
{
$this->tokenStorage = $tokenStorage;
$this->router = $router;
}
/**