From 71d7d50bf9deb477a1516fa055ea50ca886e6888 Mon Sep 17 00:00:00 2001 From: Francesco Tassi Date: Mon, 15 Jul 2013 16:26:07 +0200 Subject: [PATCH] Remove undefined variable usage --- lib/Twig/Environment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 135d8d008..c4f82bf91 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -728,7 +728,7 @@ class Twig_Environment public function addNodeVisitor(Twig_NodeVisitorInterface $visitor) { if ($this->extensionInitialized) { - throw new LogicException('Unable to add a node visitor as extensions have already been initialized.', $extension->getName()); + throw new LogicException('Unable to add a node visitor as extensions have already been initialized.'); } $this->staging->addNodeVisitor($visitor);