Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-09-29 18:48:05 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-09-29 18:48:05 +0300
commit985265a23713d5e0e1c22d15dcc4cf1a7f4cfa9a (patch)
tree53bd4cd4fff45ebb29ca4ce0a9f3f56ebd279583 /lib
parentb3efcc04c230cad71ddd61964b3ad7afc50ea128 (diff)
Fix initialisation of lastChunk
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Scanner/ScannerBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scanner/ScannerBase.php b/lib/Scanner/ScannerBase.php
index f1620bc..455643a 100644
--- a/lib/Scanner/ScannerBase.php
+++ b/lib/Scanner/ScannerBase.php
@@ -50,7 +50,7 @@ abstract class ScannerBase implements IScanner {
protected AppConfig $appConfig;
protected LoggerInterface $logger;
protected StatusFactory $statusFactory;
- protected string $lastChunk;
+ protected ?string $lastChunk = null;
protected bool $isLogUsed = false;
protected bool $isAborted = false;