@@ -204,6 +204,8 @@ function ldap_control_paged_result($link, int $pagesize, bool $iscritical = fals
204
204
/**
205
205
* @param resource $link
206
206
* @param resource $result
207
+ * @param string $cookie
208
+ * @param int $estimated
207
209
* @deprecated since 7.4
208
210
*/
209
211
function ldap_control_paged_result_response ($ link , $ result , &$ cookie = null , &$ estimated = null ): bool {}
@@ -220,10 +222,16 @@ function ldap_rename($link_identifier, string $dn, string $newrdn, string $newpa
220
222
function ldap_rename_ext ($ link_identifier , string $ dn , string $ newrdn , string $ newparent , bool $ deleteoldrdn , array $ servercontrols = []) {}
221
223
222
224
223
- /** @param resource $link_identifier */
225
+ /**
226
+ * @param resource $link_identifier
227
+ * @param array|string|int $retval
228
+ */
224
229
function ldap_get_option ($ link_identifier , int $ option , &$ retval = null ): bool {}
225
230
226
- /** @param resource|null $link_identifier */
231
+ /**
232
+ * @param resource|null $link_identifier
233
+ * @param array|string|int|bool $newval
234
+ */
227
235
function ldap_set_option ($ link_identifier , int $ option , $ newval ): bool {}
228
236
229
237
/**
@@ -250,6 +258,7 @@ function ldap_next_reference($link, $entry) {}
250
258
/**
251
259
* @param resource $link
252
260
* @param resource $entry
261
+ * @param array $referrals
253
262
*/
254
263
function ldap_parse_reference ($ link , $ entry , &$ referrals ): bool {}
255
264
#endif
@@ -264,13 +273,12 @@ function ldap_parse_result($link, $result, &$errcode, &$matcheddn = null, &$errm
264
273
#endif
265
274
266
275
#if defined(LDAP_API_FEATURE_X_OPENLDAP) && defined(HAVE_3ARG_SETREBINDPROC)
267
- /**
268
- * @param resource $link
269
- */
276
+ /** @param resource $link */
270
277
function ldap_set_rebind_proc ($ link , ?callable $ callback ): bool {}
271
278
#endif
272
279
273
280
#ifdef HAVE_LDAP_START_TLS_S
281
+ /** @param resource $link_identifier */
274
282
function ldap_start_tls ($ link_identifier ): bool {}
275
283
#endif
276
284
@@ -286,13 +294,18 @@ function ldap_8859_to_t61(string $value): string|false {}
286
294
#ifdef HAVE_LDAP_EXTENDED_OPERATION_S
287
295
/**
288
296
* @param resource $link
297
+ * @param string $retdata
298
+ * @param string $retoid
289
299
* @return resource|bool
290
300
*/
291
301
function ldap_exop ($ link , string $ reqoid , ?string $ reqdata = null , ?array $ servercontrols = [], &$ retdata = null , &$ retoid = null ) {}
292
302
#endif
293
303
294
304
#ifdef HAVE_LDAP_PASSWD
295
- /** @param resource $link */
305
+ /**
306
+ * @param resource $link
307
+ * @param array $serverctrls
308
+ */
296
309
function ldap_exop_passwd ($ link , string $ user = '' , string $ oldpw = '' , string $ newpw = '' , &$ serverctrls = null ): string |bool {}
297
310
#endif
298
311
@@ -302,17 +315,17 @@ function ldap_exop_passwd($link, string $user = '', string $oldpw = '', string $
302
315
function ldap_exop_whoami ($ link ): string |bool {}
303
316
#endif
304
317
305
-
306
318
#ifdef HAVE_LDAP_REFRESH_S
307
319
/** @param resource $link */
308
320
function ldap_exop_refresh ($ link , string $ dn , int $ ttl ): int |false {}
309
321
#endif
310
322
311
-
312
323
#ifdef HAVE_LDAP_PARSE_EXTENDED_RESULT
313
324
/**
314
325
* @param resource $link
315
326
* @param resource $result
327
+ * @param string $retdata
328
+ * @param string $retoid
316
329
*/
317
330
function ldap_parse_exop ($ link , $ result , &$ retdata = null , &$ retoid = null ): bool {}
318
331
#endif
0 commit comments