summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.stub.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-02-16 19:20:54 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-02-16 23:43:38 +0100
commitc31029f335ca1b453af799805c43c37e959ad555 (patch)
tree15f57cdb50525d2f05e0016c795a1ca7a72e17b9 /ext/ldap/ldap.stub.php
parent6ee6097688a8c64e0e0ba166d48b16a93bf107a2 (diff)
downloadphp-git-c31029f335ca1b453af799805c43c37e959ad555.tar.gz
Replace @param annotations with type declarations
Diffstat (limited to 'ext/ldap/ldap.stub.php')
-rw-r--r--ext/ldap/ldap.stub.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php
index e8a2fc8a32..ac0f993920 100644
--- a/ext/ldap/ldap.stub.php
+++ b/ext/ldap/ldap.stub.php
@@ -40,27 +40,21 @@ function ldap_sasl_bind($link, string $binddn = UNKNOWN, string $password = UNKN
/**
* @param resource|array $link_identifier
- * @param string|array $base_dn
- * @param string|array $filter
* @return resource|false
*/
-function ldap_read($link_identifier, $base_dn, $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
+function ldap_read($link_identifier, string|array $base_dn, string|array $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
/**
* @param resource|array $link_identifier
- * @param string|array $base_dn
- * @param string|array $filter
* @return resource|false
*/
-function ldap_list($link_identifier, $base_dn, $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
+function ldap_list($link_identifier, string|array $base_dn, string|array $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
/**
* @param resource|array $link_identifier
- * @param string|array $base_dn
- * @param string|array $filter
* @return resource|false
*/
-function ldap_search($link_identifier, $base_dn, $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
+function ldap_search($link_identifier, string|array $base_dn, string|array $filter, array $attributes = [], int $attrsonly = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = LDAP_DEREF_NEVER, array $servercontrols = []) {}
/**
* @param resource $link_identifier