File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Symfony/Component/Workflow/EventListener Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Workflow \EventListener ;
13
13
14
14
use Symfony \Component \Security \Core \Authentication \AuthenticationTrustResolverInterface ;
15
- use Symfony \Component \Security \Core \Authentication \Token \AnonymousToken ;
16
15
use Symfony \Component \Security \Core \Authentication \Token \Storage \TokenStorageInterface ;
17
16
use Symfony \Component \Security \Core \Authorization \AuthorizationCheckerInterface ;
18
17
use Symfony \Component \Security \Core \Role \RoleHierarchyInterface ;
@@ -57,7 +56,7 @@ private function getVariables(GuardEvent $event)
57
56
$ token = $ this ->tokenStorage ->getToken ();
58
57
59
58
if (null === $ token ) {
60
- throw new \Exception (" No token is set " );
59
+ throw new \Exception (' No token is set ' );
61
60
}
62
61
63
62
if (null !== $ this ->roleHierarchy ) {
You can’t perform that action at this time.
0 commit comments