phpstan fixes

This commit is contained in:
Dennis Eichhorn 2021-10-10 16:07:06 +02:00
parent dc72e2a984
commit c269db96c0

View File

@ -46,7 +46,7 @@ final class Installer extends InstallerAbstract
{
parent::install($dbPool, $info, $cfgHandler);
self::installDefaultColors($info, $cfgHandler);
self::installDefaultColors();
}
/**
@ -57,6 +57,6 @@ final class Installer extends InstallerAbstract
private static function installDefaultColors() : void
{
$setting = new Setting();
SettingMapper::create($setting->with(0, '1007500001', '#ff000000;#ff00ff00;#ffffffff', '(#[a-fA-F0-9]{8};)*(#[a-fA-F0-9]{8})', 'Tag'));
SettingMapper::create($setting->with(0, '1007500001', '#ff000000;#ff00ff00;#ffffffff', '(#[a-fA-F0-9]{8};)*(#[a-fA-F0-9]{8})', null, 'Tag'));
}
}