1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

fix ldap_bind parameters, allow null for bind_rdn and bind_password

This commit is contained in:
François Kooman 2018-03-22 15:52:04 +01:00 committed by Matthew Brown
parent aab345ad81
commit b1e81c2c25

View File

@ -5649,7 +5649,7 @@ return [
'lchown' => ['bool', 'filename'=>'string', 'user'=>'string|int'],
'ldap_8859_to_t61' => ['string', 'value'=>'string'],
'ldap_add' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
'ldap_bind' => ['bool', 'link_identifier'=>'resource', 'dn='=>'string', 'password='=>'string'],
'ldap_bind' => ['bool', 'link_identifier'=>'resource', 'dn='=>'string|null', 'password='=>'string|null'],
'ldap_close' => ['bool', 'link_identifier'=>'resource'],
'ldap_compare' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'attr'=>'string', 'value'=>'string'],
'ldap_connect' => ['resource|false', 'host='=>'string', 'port='=>'int', 'wallet='=>'string', 'wallet_passwd='=>'string', 'authmode='=>'int'],