Skip to content

Commit

Permalink
Missed something when changing token interface name.
Browse files Browse the repository at this point in the history
  • Loading branch information
seeruk committed Jul 13, 2014
1 parent 00467d6 commit b1db664
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Aegis/Exception/AuthenticationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

namespace Aegis\Exception;

use Aegis\Authentication\Token\AuthenticationTokenInterface;
use Aegis\Authentication\Result;
use Aegis\Token\TokenInterface;

/**
* Authentication Exception
Expand All @@ -26,12 +26,12 @@ class AuthenticationException extends \RuntimeException
/**
* Constructor.
*
* @param AuthenticationTokenInterface $token
* @param string $message
* @param integer $code
* @param \Exception $previous
* @param TokenInterface $token
* @param string $message
* @param integer $code
* @param \Exception $previous
*/
public function __construct(AuthenticationTokenInterface $token, $message = '', $code = Result::FAILURE, \Exception $previous = null)
public function __construct(TokenInterface $token, $message = '', $code = Result::FAILURE, \Exception $previous = null)
{
$this->token = $token;

Expand All @@ -41,7 +41,7 @@ public function __construct(AuthenticationTokenInterface $token, $message = '',
/**
* Get token.
*
* @return AuthenticationTokenInterface
* @return TokenInterface
*/
public function getToken()
{
Expand Down

0 comments on commit b1db664

Please sign in to comment.