Skip to content

Commit 7f410c6

Browse files
authored
Fix PHPdoc
1 parent a803124 commit 7f410c6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/Auth/Ldap.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,11 +685,12 @@ public function getAttributes($dn, $attributes = null, $maxsize = null)
685685
* @param array $config
686686
* @param string $username
687687
* @param string $password
688-
* @return array|bool
688+
* @return array|false
689689
*/
690690
public function validate($config, $username, $password = null)
691691
{
692-
/* Escape any characters with a special meaning in LDAP. The following
692+
/**
693+
* Escape any characters with a special meaning in LDAP. The following
693694
* characters have a special meaning (according to RFC 2253):
694695
* ',', '+', '"', '\', '<', '>', ';', '*'
695696
* These characters are escaped by prefixing them with '\'.
@@ -718,7 +719,7 @@ public function validate($config, $username, $password = null)
718719
}
719720
}
720721

721-
/*
722+
/**
722723
* Retrieve attributes from LDAP
723724
*/
724725
$attributes = $this->getAttributes($dn, $config['attributes']);

0 commit comments

Comments
 (0)