From 6ef5c104922e58f99d02ac1a7dc1bf20e8d30869 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Wed, 1 Aug 2018 09:27:01 +0200 Subject: [PATCH] Remove excess backslashes --- lib/SimpleSAML/XHTML/Template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 30b5363ab..49a221569 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -230,8 +230,8 @@ class Template ); } // TODO: add a branch for the old SimpleSAMLphp backend - $twig = new \Twig_Environment($loader, $options); - $twig->addExtension(new \Twig_Extensions_Extension_I18n()); + $twig = new Twig_Environment($loader, $options); + $twig->addExtension(new Twig_Extensions_Extension_I18n()); // initialize some basic context $langParam = $this->configuration->getString('language.parameter.name', 'language'); @@ -525,7 +525,7 @@ class Template /** * Get the current instance of Twig in use. * - * @return false|\Twig_Environment The Twig instance in use, or false if Twig is not used. + * @return false|Twig_Environment The Twig instance in use, or false if Twig is not used. */ public function getTwig() { -- GitLab