Skip to content

Commit 742d91e

Browse files
committed
Fix quotes in exception messages
1 parent 3ad6230 commit 742d91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/FormExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct($renderer = null)
4040
if ($renderer instanceof TwigRendererInterface) {
4141
@trigger_error(sprintf('Passing a Twig Form Renderer to the "%s" constructor is deprecated since Symfony 3.2 and won\'t be possible in 4.0. Pass the Twig\Environment to the TwigRendererEngine constructor instead.', static::class), E_USER_DEPRECATED);
4242
} elseif (null !== $renderer && !(\is_array($renderer) && isset($renderer[0], $renderer[1]) && $renderer[0] instanceof ContainerInterface)) {
43-
throw new \InvalidArgumentException(sprintf('Passing any arguments to the constructor of %s is reserved for internal use.', __CLASS__));
43+
throw new \InvalidArgumentException(sprintf('Passing any arguments to the constructor of "%s" is reserved for internal use.', __CLASS__));
4444
}
4545
$this->renderer = $renderer;
4646
}

0 commit comments

Comments
 (0)