fix: Avoid failing due to uninitialized acces of systemInstance

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-07-17 16:54:41 +02:00
parent 3106ad7cfc
commit 0ae18ed0a2

View File

@@ -61,7 +61,7 @@ class BoardImportService {
private ICommentsManager $commentsManager; private ICommentsManager $commentsManager;
private IEventDispatcher $eventDispatcher; private IEventDispatcher $eventDispatcher;
private string $system = ''; private string $system = '';
private ?ABoardImportService $systemInstance; private ?ABoardImportService $systemInstance = null;
private array $allowedSystems = []; private array $allowedSystems = [];
/** /**
* Data object created from config JSON * Data object created from config JSON