Skip to content

Commit

Permalink
Change TokenStorage with TokenStorageInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
stevro authored Sep 26, 2019
1 parent d930195 commit 0ffcf27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DataDog/AuditBundle/EventSubscriber/AuditSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use DataDog\AuditBundle\Entity\AuditLog;
use DataDog\AuditBundle\Entity\Association;

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\SwitchUserRole;
use Symfony\Component\Security\Core\User\UserInterface;
Expand All @@ -29,7 +29,7 @@ class AuditSubscriber implements EventSubscriber
protected $old;

/**
* @var TokenStorage
* @var TokenStorageInterface
*/
protected $securityTokenStorage;

Expand All @@ -50,7 +50,7 @@ class AuditSubscriber implements EventSubscriber
/** @var UserInterface */
protected $blameUser;

public function __construct(TokenStorage $securityTokenStorage)
public function __construct(TokenStorageInterface $securityTokenStorage)
{
$this->securityTokenStorage = $securityTokenStorage;
}
Expand Down

0 comments on commit 0ffcf27

Please sign in to comment.