mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
SFTP::get can also return true
This commit is contained in:
parent
2e963c0002
commit
8b13462ee8
@ -2282,7 +2282,7 @@ class SFTP extends SSH2
|
||||
* @param int $length
|
||||
* @param callable|null $progressCallback
|
||||
* @throws \UnexpectedValueException on receipt of unexpected packets
|
||||
* @return string|false
|
||||
* @return string|bool
|
||||
*/
|
||||
public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user