From 8ab59cb1c2b579179ef6db318bb2c362b9f613e9 Mon Sep 17 00:00:00 2001 From: GDIBass Date: Thu, 17 Aug 2017 01:27:02 -0700 Subject: [PATCH] Updated if statement --- src/Symfony/Component/Workflow/EventListener/GuardListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }