summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 13:03:16 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 13:03:16 +0200
commita43bc33fb2575cda582167c0d6571e501a2e6496 (patch)
tree536e989e4975d9729716b072b13c89e500359c89 /ext/ldap
parentfc5a88f6140ae6fa978e6ea3ae0fc723971cd4f0 (diff)
downloadphp-git-a43bc33fb2575cda582167c0d6571e501a2e6496.tar.gz
Annotate function aliases in stubs
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/ldap.stub.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php
index 7db01d57b7..8224bc1583 100644
--- a/ext/ldap/ldap.stub.php
+++ b/ext/ldap/ldap.stub.php
@@ -13,7 +13,10 @@ function ldap_connect(string $hostname = UNKNOWN, int $port = 389) {}
/** @param resource $link_identifier */
function ldap_unbind($link_identifier): bool {}
-/** @param resource $link_identifier */
+/**
+ * @param resource $link_identifier
+ * @alias ldap_unbind
+ */
function ldap_close($link_identifier): bool {}
/** @param resource $link_identifier */
@@ -111,6 +114,7 @@ function ldap_get_values_len($link_identifier, $result_entry_identifier, string
/**
* @param resource $link_identifier
* @param resource $result_entry_identifier
+ * @alias ldap_get_values_len
*/
function ldap_get_values($link_identifier, $result_entry_identifier, string $attribute): array|false {}
@@ -157,7 +161,10 @@ function ldap_mod_add_ext($link_identifier, string $dn, array $entry, array $ser
/** @param resource $link_identifier */
function ldap_mod_replace($link_identifier, string $dn, array $entry, array $servercontrols = []): bool {}
-/** @param resource $link_identifier */
+/**
+ * @param resource $link_identifier
+ * @alias ldap_mod_replace
+ */
function ldap_modify($link_identifier, string $dn, array $entry, array $servercontrols = []): bool {}
/**