diff --git a/src/Symfony/Component/Workflow/EventListener/GuardListener.php b/src/Symfony/Component/Workflow/EventListener/GuardListener.php index d78ae47396..e0c29876af 100644 --- a/src/Symfony/Component/Workflow/EventListener/GuardListener.php +++ b/src/Symfony/Component/Workflow/EventListener/GuardListener.php @@ -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); }