Merge pull request #1794 from Slamdunk/patch-1

SFTP::get can also return true
This commit is contained in:
terrafrost 2022-05-13 15:04:12 -05:00 committed by GitHub
commit 4076ff685a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{