summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ldap/ldap.stub.php')
-rw-r--r--ext/ldap/ldap.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php
index 987c1120b9..d859c69af3 100644
--- a/ext/ldap/ldap.stub.php
+++ b/ext/ldap/ldap.stub.php
@@ -35,19 +35,19 @@ function ldap_sasl_bind($ldap, ?string $dn = null, ?string $password = null, ?st
/**
* @param resource|array $ldap
- * @return resource|false
+ * @return resource|array|false
*/
function ldap_read($ldap, array|string $base, array|string $filter, array $attributes = [], int $attributes_only = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, ?array $controls = null) {}
/**
* @param resource|array $ldap
- * @return resource|false
+ * @return resource|array|false
*/
function ldap_list($ldap, array|string $base, array|string $filter, array $attributes = [], int $attributes_only = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, ?array $controls = null) {}
/**
* @param resource|array $ldap
- * @return resource|false
+ * @return resource|array|false
*/
function ldap_search($ldap, array|string $base, array|string $filter, array $attributes = [], int $attributes_only = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, ?array $controls = null) {}