[phpstorm-stubs] WI-74921 add ssh2_send_eof function stub
This commit is contained in:
parent
7d1ce85e74
commit
b7dbc3c356
|
@ -5308,6 +5308,7 @@ const FUNCTIONS = array (
|
|||
'ssh2_publickey_remove' => 'ssh2/ssh2.php',
|
||||
'ssh2_scp_recv' => 'ssh2/ssh2.php',
|
||||
'ssh2_scp_send' => 'ssh2/ssh2.php',
|
||||
'ssh2_send_eof' => 'ssh2/ssh2.php',
|
||||
'ssh2_sftp' => 'ssh2/ssh2.php',
|
||||
'ssh2_sftp_chmod' => 'ssh2/ssh2.php',
|
||||
'ssh2_sftp_lstat' => 'ssh2/ssh2.php',
|
||||
|
|
|
@ -713,6 +713,21 @@ function ssh2_sftp_chmod($sftp, $filename, $mode) {}
|
|||
*/
|
||||
function ssh2_auth_agent($session, $username) {}
|
||||
|
||||
/**
|
||||
* (PECL ssh2 >= 1.0)<br/>
|
||||
* Send end-of-file signal through an SSH2 channel
|
||||
*
|
||||
* @param resource $channel <p>
|
||||
* The SSH2 channel resource created by ssh2_shell,
|
||||
* ssh2_exec, or ssh2_tunnel.
|
||||
* </p>
|
||||
*
|
||||
* @return bool Returns true on success or false on failure.
|
||||
*
|
||||
* @link https://php.net/manual/en/function.ssh2-send-eof.php
|
||||
*/
|
||||
function ssh2_send_eof($channel): bool {}
|
||||
|
||||
/**
|
||||
* Flag to ssh2_fingerprint requesting hostkey
|
||||
* fingerprint as an MD5 hash.
|
||||
|
|
Loading…
Reference in New Issue