Updated if statement

This commit is contained in:
GDIBass 2017-08-17 01:27:02 -07:00
parent 324c208e12
commit 8ab59cb1c2

View File

@ -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);
}