From 5e9ac66241c040988a94fb9694d4569fb3c7553e Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 16 Mar 2020 08:32:23 +0100 Subject: [PATCH] Fix quotes in exception messages --- EventListener/GuardListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventListener/GuardListener.php b/EventListener/GuardListener.php index c8f00d9..03c779d 100644 --- a/EventListener/GuardListener.php +++ b/EventListener/GuardListener.php @@ -75,7 +75,7 @@ private function getVariables(GuardEvent $event) $token = $this->tokenStorage->getToken(); if (null === $token) { - throw new InvalidTokenConfigurationException(sprintf('There are no tokens available for workflow %s.', $event->getWorkflowName())); + throw new InvalidTokenConfigurationException(sprintf('There are no tokens available for workflow "%s".', $event->getWorkflowName())); } if (null !== $this->roleHierarchy) {