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:
Ryan Weaver 2015-09-26 14:10:49 -04:00
parent 1d5557f37f
commit 7f04fbb078

View File

@ -11,6 +11,8 @@
namespace Symfony\Component\Security\Guard\Token;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/**
* A marker interface that both guard tokens implement.
*
@ -20,6 +22,6 @@ namespace Symfony\Component\Security\Guard\Token;
*
* @author Ryan Weaver <ryan@knpuniversity.com>
*/
interface GuardTokenInterface
interface GuardTokenInterface extends TokenInterface
{
}