diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-16 19:20:54 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-16 23:43:38 +0100 |
commit | c31029f335ca1b453af799805c43c37e959ad555 (patch) | |
tree | 15f57cdb50525d2f05e0016c795a1ca7a72e17b9 /ext/ldap/ldap.stub.php | |
parent | 6ee6097688a8c64e0e0ba166d48b16a93bf107a2 (diff) | |
download | php-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.php | 12 |
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 |