Skip to content

Commit

Permalink
fix: Avoid failing due to uninitialized acces of systemInstance
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed Jul 17, 2023
1 parent 3106ad7 commit 0ae18ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/Importer/BoardImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class BoardImportService {
private ICommentsManager $commentsManager;
private IEventDispatcher $eventDispatcher;
private string $system = '';
private ?ABoardImportService $systemInstance;
private ?ABoardImportService $systemInstance = null;
private array $allowedSystems = [];
/**
* Data object created from config JSON
Expand Down

0 comments on commit 0ae18ed

Please sign in to comment.