@@ -66,7 +66,7 @@ function ldap_add($link_identifier, string $dn, array $entry, array $serverctrls
6666 * @throws LdapException
6767 *
6868 */
69- function ldap_bind_ext ($ link_identifier , ? string $ bind_rdn = null , ? string $ bind_password = null , array $ serverctrls = null )
69+ function ldap_bind_ext ($ link_identifier , string $ bind_rdn = null , string $ bind_password = null , array $ serverctrls = null )
7070{
7171 error_clear_last ();
7272 $ result = \ldap_bind_ext ($ link_identifier , $ bind_rdn , $ bind_password , $ serverctrls );
@@ -87,7 +87,7 @@ function ldap_bind_ext($link_identifier, ?string $bind_rdn = null, ?string $bind
8787 * @throws LdapException
8888 *
8989 */
90- function ldap_bind ($ link_identifier , ? string $ bind_rdn = null , ? string $ bind_password = null , array $ serverctrls = null ): void
90+ function ldap_bind ($ link_identifier , string $ bind_rdn = null , string $ bind_password = null , array $ serverctrls = null ): void
9191{
9292 error_clear_last ();
9393 $ result = \ldap_bind ($ link_identifier , $ bind_rdn , $ bind_password , $ serverctrls );
@@ -102,8 +102,8 @@ function ldap_bind($link_identifier, ?string $bind_rdn = null, ?string $bind_pas
102102 *
103103 * @param resource $link An LDAP link identifier, returned by ldap_connect.
104104 * @param resource $result
105- * @param string $cookie An opaque structure sent by the server.
106- * @param int $estimated The estimated number of entries to retrieve.
105+ * @param string|null $cookie An opaque structure sent by the server.
106+ * @param int|null $estimated The estimated number of entries to retrieve.
107107 * @throws LdapException
108108 *
109109 */
@@ -264,7 +264,7 @@ function ldap_exop_whoami($link): string
264264 * @throws LdapException
265265 *
266266 */
267- function ldap_exop ($ link , string $ reqoid , string $ reqdata = null , ? array $ serverctrls = null , string &$ retdata = null , string &$ retoid = null )
267+ function ldap_exop ($ link , string $ reqoid , string $ reqdata = null , array $ serverctrls = null , string &$ retdata = null , string &$ retoid = null )
268268{
269269 error_clear_last ();
270270 $ result = \ldap_exop ($ link , $ reqoid , $ reqdata , $ serverctrls , $ retdata , $ retoid );
0 commit comments