From: Fabien Potencier Date: Sat, 26 Oct 2013 07:59:29 +0000 (+0200) Subject: removed whitespaces X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=5eb8373b1cb91770f251a14086817346abfc5d17;p=web%2Fkonrad%2Ftwig.git removed whitespaces --- diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 2ff29d8..8a6985a 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -802,11 +802,11 @@ class Twig_Environment $filter = $name; $name = $filter->getName(); } - + if ($this->extensionInitialized) { throw new LogicException(sprintf('Unable to add filter "%s" as extensions have already been initialized.', $name)); } - + $this->staging->addFilter($name, $filter); } @@ -891,7 +891,7 @@ class Twig_Environment $test = $name; $name = $test->getName(); } - + if ($this->extensionInitialized) { throw new LogicException(sprintf('Unable to add test "%s" as extensions have already been initialized.', $name)); } @@ -949,11 +949,11 @@ class Twig_Environment $function = $name; $name = $function->getName(); } - + if ($this->extensionInitialized) { throw new LogicException(sprintf('Unable to add function "%s" as extensions have already been initialized.', $name)); } - + $this->staging->addFunction($name, $function); }