From 8b13462ee878e0a24a0736f877c168b635d2a674 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Wed, 11 May 2022 11:53:42 +0200 Subject: [PATCH] SFTP::get can also return true --- phpseclib/Net/SFTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index e6da01f7..69a64766 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -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) {