diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php
index d391cb7380198fe57b4fa6c5614e52f8f0047409..4e153992a1eab5e74b9777e4425f2adff2e5ad0b 100644
--- a/modules/saml/lib/IdP/SAML2.php
+++ b/modules/saml/lib/IdP/SAML2.php
@@ -1148,7 +1148,7 @@ class SAML2
      * @param \SimpleSAML\Configuration $spMetadata The metadata of the SP.
      * @param string                   $consumerURL The Destination URL of the response.
      *
-     * @return \SAML2\Response The SAML2 response corresponding to the given data.
+     * @return \SAML2\LogoutRequest The SAML2 LogoutRequest corresponding to the given data.
      */
     private static function buildResponse(
         Configuration $idpMetadata,