mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-16 11:30:35 +00:00
Merge pull request #1794 from Slamdunk/patch-1
SFTP::get can also return true
This commit is contained in:
commit
4076ff685a
@ -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