summaryrefslogtreecommitdiffstats
path: root/Core
diff options
context:
space:
mode:
authorJohannes Schmitt <schmittjoh@gmail.com>2011-04-20 22:38:16 +0200
committerJohannes Schmitt <schmittjoh@gmail.com>2011-04-20 22:38:16 +0200
commitb952ac5b1486987bd27f0b63315534d0f37d5c9c (patch)
treeab681a2a7ee93605936742afffb072224bf1974a /Core
parent86898e86e1f299df97c06caded3e04939908a436 (diff)
downloadsymfony-security-b952ac5b1486987bd27f0b63315534d0f37d5c9c.zip
symfony-security-b952ac5b1486987bd27f0b63315534d0f37d5c9c.tar.gz
symfony-security-b952ac5b1486987bd27f0b63315534d0f37d5c9c.tar.bz2
[Security/Core] force implementations to accept null values
Diffstat (limited to 'Core')
-rw-r--r--Core/SecurityContextInterface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php
index a47c89d..c54ca0e 100644
--- a/Core/SecurityContextInterface.php
+++ b/Core/SecurityContextInterface.php
@@ -28,7 +28,7 @@ interface SecurityContextInterface
* @param TokenInterface $token
* @return void
*/
- function setToken(TokenInterface $token);
+ function setToken(TokenInterface $token = null);
/**
* Checks if the attributes are granted against the current authentication token and optionally supplied object.