fix: allow null label colors in trello json importer

Signed-off-by: Mario Jäckle <github@jacksbox.de>
This commit is contained in:
Mario Jäckle
2023-12-06 17:29:08 +01:00
committed by Julius Härtl
parent c807fcf635
commit cea66746d7

View File

@@ -332,7 +332,7 @@ class TrelloJsonService extends ABoardImportService {
return $return; return $return;
} }
private function translateColor(string $color): string { private function translateColor(?string $color): string {
switch ($color) { switch ($color) {
case 'red': case 'red':
return 'ff0000'; return 'ff0000';