Code standard fixes

This commit is contained in:
GDIBass 2017-08-17 23:45:14 -07:00
parent 22b44e251f
commit 3a8b2eded1

View File

@ -12,7 +12,6 @@
namespace Symfony\Component\Workflow\EventListener;
use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface;
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
@ -57,7 +56,7 @@ class GuardListener
$token = $this->tokenStorage->getToken();
if (null === $token) {
throw new \Exception("No token is set");
throw new \Exception('No token is set');
}
if (null !== $this->roleHierarchy) {