diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-07 11:21:46 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-12-29 12:36:34 +0100 |
commit | 9430899f163d0c07ce31d674bd345a9f672245ea (patch) | |
tree | 0522db19afc154e07845e6c5aabf3c3e86fc9c0c /apps/files_external | |
parent | e6b56a425b4f6bdeebf311c04a79438f2ccabf12 (diff) | |
download | nextcloud-server-9430899f163d0c07ce31d674bd345a9f672245ea.tar.gz nextcloud-server-9430899f163d0c07ce31d674bd345a9f672245ea.zip |
Fix psalm issues related to signature changes from PHP 8.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SFTPReadStream.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php index 680a51cfa10..c4749b15453 100644 --- a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php +++ b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php @@ -136,9 +136,6 @@ class SFTPReadStream implements File { $data = substr($this->buffer, 0, $count); $this->buffer = substr($this->buffer, $count); - if ($this->buffer === false) { - $this->buffer = ''; - } $this->readPosition += strlen($data); return $data; |