diff options
author | Johannes Schmitt <schmittjoh@gmail.com> | 2011-04-20 22:38:16 +0200 |
---|---|---|
committer | Johannes Schmitt <schmittjoh@gmail.com> | 2011-04-20 22:38:16 +0200 |
commit | b952ac5b1486987bd27f0b63315534d0f37d5c9c (patch) | |
tree | ab681a2a7ee93605936742afffb072224bf1974a /Core | |
parent | 86898e86e1f299df97c06caded3e04939908a436 (diff) | |
download | symfony-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.php | 2 |
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. |