Properly type ssh2_auth_none() return value

This commit is contained in:
Benjamin Morel 2020-01-20 18:33:47 +01:00
parent 87d8c4a439
commit d5a7d9c7ee
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ function ssh2_fingerprint ($session, $flags = null) {}
* @param string $username <p>
* Remote user name.
* </p>
* @return mixed true if the server does accept "none" as an authentication
* @return array|bool true if the server does accept "none" as an authentication
* method, or an array of accepted authentication methods on failure.
*/
function ssh2_auth_none ($session, $username) {}