diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 0b799741bcf57da176e069aa56020d0fba441405..4686fdbb5637490c4cd5fbd6ecc7d2f9906fd461 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -659,7 +659,7 @@ class Template
 
     /**
      * @param string $file
-     * @param \SimpleSAML\Configuration null $otherConfig
+     * @param \SimpleSAML\Configuration|null $otherConfig
      *
      * @deprecated This method will be removed in SSP 2.0. Please use
      * \SimpleSAML\Locale\Translate::includeLanguageFile() instead.