diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index f29033f4d1b4097e69b7da8b07ed82902aa053c4..844ed4cc1514ce96d4a68a531c7a51aecdf12adb 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -154,7 +154,7 @@ class SimpleSAML_XHTML_Template
     /**
      * Set up the places where twig can look for templates.
      *
-     * @return Twig_Loader_Filesystem|false The twig template loader or false if the template does not exist.
+     * @return Twig_Loader_Filesystem The twig template loader or false if the template does not exist.
      * @throws Twig_Error_Loader In case a failure occurs.
      */
     private function setupTwigTemplatepaths()