Updated if statement
This commit is contained in:
parent
324c208e12
commit
8ab59cb1c2
@ -56,7 +56,7 @@ class GuardListener
|
||||
{
|
||||
$token = $this->tokenStorage->getToken();
|
||||
|
||||
if ($token == null) {
|
||||
if (null === $token) {
|
||||
$token = new AnonymousToken('secret', 'anon', array());
|
||||
$this->tokenStorage->setToken($token);
|
||||
}
|
||||
|
Reference in New Issue
Block a user