summaryrefslogtreecommitdiffstats
path: root/Guard
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-09-27 11:18:08 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-09-27 11:18:08 +0200
commit137ba28714a50c9300d463037af4ed7769a09077 (patch)
tree5e18185518270fbe95f404e89893667d457bdf74 /Guard
parent404d4eeb6f554cedc2863c817d659949ab52906b (diff)
parent190749fd3d8e871393bab80170b759fc07018160 (diff)
downloadsymfony-security-137ba28714a50c9300d463037af4ed7769a09077.zip
symfony-security-137ba28714a50c9300d463037af4ed7769a09077.tar.gz
symfony-security-137ba28714a50c9300d463037af4ed7769a09077.tar.bz2
bug #15927 Making GuardTokenInterface extend TokenInterface (weaverryan)
This PR was merged into the 2.8 branch. Discussion ---------- Making GuardTokenInterface extend TokenInterface | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15884 | License | MIT | Doc PR | n/a See #15884 Commits ------- 7f04fbb Making GuardTokenInterface extend TokenInterface
Diffstat (limited to 'Guard')
-rw-r--r--Guard/Token/GuardTokenInterface.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Guard/Token/GuardTokenInterface.php b/Guard/Token/GuardTokenInterface.php
index f0db250..063ffd3 100644
--- a/Guard/Token/GuardTokenInterface.php
+++ b/Guard/Token/GuardTokenInterface.php
@@ -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
{
}