diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index d252af5bd507a4b93cd4a28cb882ea259d6a1995..71b4b8acf02a16d0f0a7a9358ff5a798a2da967f 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -503,7 +503,7 @@ class SimpleSAML_Metadata_SAMLParser {
 
 
 	/**
-	 * This function returns the metadata for SAML 2.0 IdPs in the format simpleSAMLphp expects.
+	 * This function returns the metadata for SAML 1.x IdPs in the format simpleSAMLphp expects.
 	 * This is an associative array with the following fields:
 	 * - 'entityid': The entity id of the entity described in the metadata.
 	 * - 'name': Autogenerated name for this entity. Currently set to the entity id.