SFTP::get can also return true

This commit is contained in:
Filippo Tessarotto 2022-05-11 11:53:42 +02:00 committed by GitHub
parent 2e963c0002
commit 8b13462ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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