replace tokenStorage injection by tokenStorageInterface

This commit is contained in:
2020-08-03 11:05:54 +02:00
parent 95682734dd
commit e3b5b46bd1
2 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ use Chill\MainBundle\Search\SearchInterface;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use Chill\MainBundle\Search\ParsingException;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Symfony\Component\Security\Core\Role\Role;
use Chill\MainBundle\Pagination\PaginatorFactory;
@@ -71,7 +71,7 @@ class PersonSearch extends AbstractSearch implements ContainerAwareInterface,
public function __construct(
EntityManagerInterface $em,
TokenStorage $tokenStorage,
TokenStorageInterface $tokenStorage,
AuthorizationHelper $helper,
PaginatorFactory $paginatorFactory)
{