Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/CoreBundle/Contao/Hooks/RegisterBackendNavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* @author Christian Schiffler <c.schiffler@cyberspectrum.de>
* @author Sven Baumann <baumann.sv@gmail.com>
* @author Richard Henkenjohann <richardhenkenjohann@googlemail.com>
* @author Ingolf Steinhardt <info@e-spin.de>
* @copyright 2012-2019 The MetaModels team.
* @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later
* @filesource
Expand All @@ -27,7 +28,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Translation\TranslatorInterface;
Expand Down Expand Up @@ -68,7 +69,7 @@ class RegisterBackendNavigation
/**
* The token storage.
*
* @var TokenStorage
* @var TokenStorageInterface
*/
private $tokenStorage;

Expand All @@ -79,14 +80,14 @@ class RegisterBackendNavigation
* @param RequestStack $requestStack The request stack.
* @param UrlGeneratorInterface $urlGenerator The url generator.
* @param ViewCombination $viewCombination The view combination.
* @param TokenStorage $tokenStorage The token storage.
* @param TokenStorageInterface $tokenStorage The token storage.
*/
public function __construct(
TranslatorInterface $translator,
RequestStack $requestStack,
UrlGeneratorInterface $urlGenerator,
ViewCombination $viewCombination,
TokenStorage $tokenStorage
TokenStorageInterface $tokenStorage
) {
$this->requestStack = $requestStack;
$this->urlGenerator = $urlGenerator;
Expand Down