From 505225566d5a9d6f7e1e019af66ea864d8438ca5 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Fri, 10 May 2019 17:31:17 +0200
Subject: [PATCH] Fix phpdoc
---
lib/SimpleSAML/Auth/LDAP.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/SimpleSAML/Auth/LDAP.php b/lib/SimpleSAML/Auth/LDAP.php
index 4a2749d40..375c9f698 100644
--- a/lib/SimpleSAML/Auth/LDAP.php
+++ b/lib/SimpleSAML/Auth/LDAP.php
@@ -682,11 +682,12 @@ class LDAP
* @param array $config
* @param string $username
* @param string $password
- * @return array|bool
+ * @return array|false
*/
public function validate($config, $username, $password = null)
{
- /* Escape any characters with a special meaning in LDAP. The following
+ /**
+ * Escape any characters with a special meaning in LDAP. The following
* characters have a special meaning (according to RFC 2253):
* ',', '+', '"', '\', '<', '>', ';', '*'
* These characters are escaped by prefixing them with '\'.
@@ -714,7 +715,7 @@ class LDAP
}
}
- /*
+ /**
* Retrieve attributes from LDAP
*/
$attributes = $this->getAttributes($dn, $config['attributes']);
--
GitLab