Skip to content

Commit

Permalink
Use the JWTManagerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
trsteel88 authored Feb 17, 2019
1 parent 5240060 commit 538433e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Security/Http/Authentication/AuthenticationSuccessHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Lexik\Bundle\JWTAuthenticationBundle\Event\AuthenticationSuccessEvent;
use Lexik\Bundle\JWTAuthenticationBundle\Events;
use Lexik\Bundle\JWTAuthenticationBundle\Response\JWTAuthenticationSuccessResponse;
use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager;
use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
Expand All @@ -20,7 +20,7 @@
class AuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface
{
/**
* @var JWTManager
* @var JWTManagerInterface
*/
protected $jwtManager;

Expand All @@ -30,10 +30,10 @@ class AuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterf
protected $dispatcher;

/**
* @param JWTManager $jwtManager
* @param JWTManagerInterface $jwtManager
* @param EventDispatcherInterface $dispatcher
*/
public function __construct(JWTManager $jwtManager, EventDispatcherInterface $dispatcher)
public function __construct(JWTManagerInterface $jwtManager, EventDispatcherInterface $dispatcher)
{
$this->jwtManager = $jwtManager;
$this->dispatcher = $dispatcher;
Expand Down

0 comments on commit 538433e

Please sign in to comment.