diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-09-29 18:48:05 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-09-29 18:48:05 +0300 |
commit | 985265a23713d5e0e1c22d15dcc4cf1a7f4cfa9a (patch) | |
tree | 53bd4cd4fff45ebb29ca4ce0a9f3f56ebd279583 /lib | |
parent | b3efcc04c230cad71ddd61964b3ad7afc50ea128 (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.php | 2 |
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; |