Skip to content

Commit

Permalink
Merge pull request #64 from stevro/master
Browse files Browse the repository at this point in the history
Change TokenStorage with TokenStorageInterface
  • Loading branch information
l3pp4rd authored Sep 27, 2019
2 parents d930195 + 0ffcf27 commit 6a1f713
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 6a1f713

Please sign in to comment.