Skip to content

Commit

Permalink
fix ldap_exop_passwd and ldap_parse_result functions to pass args by …
Browse files Browse the repository at this point in the history
…reference (#14)
  • Loading branch information
David Coutadeur committed Apr 25, 2024
1 parent bd4259e commit becedf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ltb/PhpLDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static function ldap_modify_batch(...$args)
return ldap_modify_batch(...$args);
}

public static function ldap_exop_passwd(...$args)
public static function ldap_exop_passwd(&...$args)
{
return ldap_exop_passwd(...$args);
}
Expand All @@ -86,7 +86,7 @@ public static function ldap_mod_replace_ext(...$args)
return ldap_mod_replace_ext(...$args);
}

public static function ldap_parse_result(...$args)
public static function ldap_parse_result(&...$args)
{
return ldap_parse_result(...$args);
}
Expand Down

0 comments on commit becedf3

Please sign in to comment.