Skip to content

Commit 6400027

Browse files
authored
ext/ldap: Sync ldap_exop() signature to match stubs (#5623)
The return type is documented as mixed but ldap_exop() returns LDAP\Result|bool, and the request_data and controls parameters are nullable (?string and ?array).
1 parent c62ef37 commit 6400027

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

reference/ldap/functions/ldap-exop.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis>
12-
<type>mixed</type><methodname>ldap_exop</methodname>
12+
<type class="union"><type>LDAP\Result</type><type>bool</type></type><methodname>ldap_exop</methodname>
1313
<methodparam><type>LDAP\Connection</type><parameter>ldap</parameter></methodparam>
1414
<methodparam><type>string</type><parameter>request_oid</parameter></methodparam>
15-
<methodparam choice="opt"><type>string</type><parameter>request_data</parameter><initializer>&null;</initializer></methodparam>
16-
<methodparam choice="opt"><type>array</type><parameter>controls</parameter><initializer>&null;</initializer></methodparam>
15+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>request_data</parameter><initializer>&null;</initializer></methodparam>
16+
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>controls</parameter><initializer>&null;</initializer></methodparam>
1717
<methodparam choice="opt"><type>string</type><parameter role="reference">response_data</parameter></methodparam>
1818
<methodparam choice="opt"><type>string</type><parameter role="reference">response_oid</parameter></methodparam>
1919
</methodsynopsis>

0 commit comments

Comments
 (0)