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-11 12:05:46 +01:00
parent 650313254f
commit a2adcf2487
+1 -1
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;