From 8b89acb97ab4328db74452fc494ef6b976318ab1 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Fri, 31 Jul 2015 15:00:55 +0200
Subject: [PATCH] Fix data type returned.

---
 lib/SimpleSAML/Metadata/MetaDataStorageSource.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Metadata/MetaDataStorageSource.php b/lib/SimpleSAML/Metadata/MetaDataStorageSource.php
index 81e0485e7..fdb5d28b4 100644
--- a/lib/SimpleSAML/Metadata/MetaDataStorageSource.php
+++ b/lib/SimpleSAML/Metadata/MetaDataStorageSource.php
@@ -116,7 +116,7 @@ abstract class SimpleSAML_Metadata_MetaDataStorageSource
      * @param string $set Which set of metadata we are looking it up in.
      * @param string $type Do you want to return the metaindex or the entityID. [entityid|metaindex]
      *
-     * @return array|null An entity id which matches the given host/path combination, or NULL if
+     * @return string|null An entity id which matches the given host/path combination, or NULL if
      *         we are unable to locate one which matches.
      */
     public function getEntityIdFromHostPath($hostPath, $set, $type = 'entityid')
-- 
GitLab