Browse Source
fix phpdoc return types (no code change)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/5616/head
Arthur Schiwon
8 years ago
committed by
Lukas Reschke
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with
4 additions and
4 deletions
-
apps/user_ldap/lib/ILDAPWrapper.php
-
apps/user_ldap/lib/LDAP.php
|
|
@ -82,14 +82,14 @@ interface ILDAPWrapper { |
|
|
|
/** |
|
|
|
* Return the LDAP error number of the last LDAP command |
|
|
|
* @param resource $link LDAP link resource |
|
|
|
* @return string error message as string |
|
|
|
* @return int error code |
|
|
|
*/ |
|
|
|
public function errno($link); |
|
|
|
|
|
|
|
/** |
|
|
|
* Return the LDAP error message of the last LDAP command |
|
|
|
* @param resource $link LDAP link resource |
|
|
|
* @return int error code as integer |
|
|
|
* @return string error message |
|
|
|
*/ |
|
|
|
public function error($link); |
|
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ class LDAP implements ILDAPWrapper { |
|
|
|
|
|
|
|
/** |
|
|
|
* @param LDAP $link |
|
|
|
* @return mixed|string |
|
|
|
* @return integer |
|
|
|
*/ |
|
|
|
public function errno($link) { |
|
|
|
return $this->invokeLDAPMethod('errno', $link); |
|
|
@ -108,7 +108,7 @@ class LDAP implements ILDAPWrapper { |
|
|
|
|
|
|
|
/** |
|
|
|
* @param LDAP $link |
|
|
|
* @return int|mixed |
|
|
|
* @return string |
|
|
|
*/ |
|
|
|
public function error($link) { |
|
|
|
return $this->invokeLDAPMethod('error', $link); |
|
|
|