Skip to content

Commit 9b10ee9

Browse files
committed
Fix quotes in exception messages
1 parent fb43a17 commit 9b10ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Compiler/AddSecurityVotersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function process(ContainerBuilder $container)
5252
$class = $container->getParameterBag()->resolveValue($definition->getClass());
5353

5454
if (!is_a($class, VoterInterface::class, true)) {
55-
throw new LogicException(sprintf('%s must implement the %s when used as a voter.', $class, VoterInterface::class));
55+
throw new LogicException(sprintf('"%s" must implement the "%s" when used as a voter.', $class, VoterInterface::class));
5656
}
5757

5858
if ($debug) {

0 commit comments

Comments
 (0)