We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324c208 commit 8ab59cbCopy full SHA for 8ab59cb
src/Symfony/Component/Workflow/EventListener/GuardListener.php
@@ -56,7 +56,7 @@ private function getVariables(GuardEvent $event)
56
{
57
$token = $this->tokenStorage->getToken();
58
59
- if ($token == null) {
+ if (null === $token) {
60
$token = new AnonymousToken('secret', 'anon', array());
61
$this->tokenStorage->setToken($token);
62
}
0 commit comments