From 9430899f163d0c07ce31d674bd345a9f672245ea Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 7 Nov 2022 11:21:46 +0100 Subject: Fix psalm issues related to signature changes from PHP 8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/files_external/lib/Lib/Storage/SFTPReadStream.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'apps/files_external') 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; -- cgit v1.2.3