Skip to content

Commit 4f02d15

Browse files
committed
ext/ldap: ldap_free_result() always returns true
1 parent 5e45c17 commit 4f02d15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/ldap/ldap.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ function ldap_list($ldap, array|string $base, array|string $filter, array $attri
659659
/** @param LDAP\Connection|array $ldap */
660660
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): LDAP\Result|array|false {}
661661

662-
function ldap_free_result(LDAP\Result $result): bool {}
662+
function ldap_free_result(LDAP\Result $result): true {}
663663

664664
function ldap_count_entries(LDAP\Connection $ldap, LDAP\Result $result): int {}
665665

ext/ldap/ldap_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)