Making GuardTokenInterface extend TokenInterface
This makes some of our type-hints more honest: i.e. where we look for a GuardTokenInterface, but really also expect it to implement TokenInterface.
This commit is contained in:
parent
1d5557f37f
commit
7f04fbb078
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\Security\Guard\Token;
|
namespace Symfony\Component\Security\Guard\Token;
|
||||||
|
|
||||||
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A marker interface that both guard tokens implement.
|
* A marker interface that both guard tokens implement.
|
||||||
*
|
*
|
||||||
@ -20,6 +22,6 @@ namespace Symfony\Component\Security\Guard\Token;
|
|||||||
*
|
*
|
||||||
* @author Ryan Weaver <ryan@knpuniversity.com>
|
* @author Ryan Weaver <ryan@knpuniversity.com>
|
||||||
*/
|
*/
|
||||||
interface GuardTokenInterface
|
interface GuardTokenInterface extends TokenInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user