Merge branch '3.0'

This commit is contained in:
terrafrost 2023-04-10 01:28:25 -05:00
commit 7d4fa71e9c

View File

@ -1842,7 +1842,7 @@ class SSH2
* *
* The $password parameter can be a plaintext password, a \phpseclib3\Crypt\RSA|EC|DSA object, a \phpseclib3\System\SSH\Agent object or an array * The $password parameter can be a plaintext password, a \phpseclib3\Crypt\RSA|EC|DSA object, a \phpseclib3\System\SSH\Agent object or an array
* *
* @param string|AsymmetricKey|array[]|Agent|null ...$args * @param string|PrivateKey|array[]|Agent|null ...$args
* @see self::_login() * @see self::_login()
*/ */
public function login(string $username, ...$args): bool public function login(string $username, ...$args): bool
@ -1868,7 +1868,7 @@ class SSH2
/** /**
* Login Helper * Login Helper
* *
* @param string ...$args * @param string|PrivateKey|array[]|Agent|null ...$args
* @see self::_login_helper() * @see self::_login_helper()
*/ */
protected function sublogin(string $username, ...$args): bool protected function sublogin(string $username, ...$args): bool