Skip to content

Commit b481d24

Browse files
committed
ext/ldap: ldap_free_result() always returns true
1 parent da498c4 commit b481d24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/ldap/ldap.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ function ldap_list($ldap, array|string $base, array|string $filter, array $attri
654654
/** @param LDAP\Connection|array $ldap */
655655
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 {}
656656

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

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

ext/ldap/ldap_arginfo.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)