From 5eb8373b1cb91770f251a14086817346abfc5d17 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 26 Oct 2013 09:59:29 +0200 Subject: [PATCH] removed whitespaces --- lib/Twig/Environment.php | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) 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); } -- 1.7.2.5