Add default for injected value since out app container is not queried during update

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-11-10 14:04:16 +01:00
parent 650313254f
commit a2adcf2487

View File

@@ -44,7 +44,7 @@ class CardMapper extends DeckMapper implements IPermissionMapper {
LabelMapper $labelMapper,
IUserManager $userManager,
IManager $notificationManager,
$databaseType
$databaseType = 'sqlite'
) {
parent::__construct($db, 'deck_cards', Card::class);
$this->labelMapper = $labelMapper;