Skip to content

Commit

Permalink
Merge pull request #11 from ntidev/dev-symfony-4-support
Browse files Browse the repository at this point in the history
feat(App) Symfony 4 support
  • Loading branch information
yansellrivasdiaz authored Aug 14, 2020
2 parents f829edd + 16e5ee7 commit 5e0b900
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 @@ -7,7 +7,7 @@
use DataDog\AuditBundle\Entity\Association;

use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Logging\LoggerChain;
Expand All @@ -28,7 +28,7 @@ class AuditSubscriber implements EventSubscriber
protected $old;

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

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

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

0 comments on commit 5e0b900

Please sign in to comment.