From fee144f10dc7164eb7358ea8a7113e0ecae4cd10 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 10 Oct 2021 16:07:06 +0200 Subject: [PATCH] phpstan fixes --- Admin/Install/Media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Admin/Install/Media.php b/Admin/Install/Media.php index db19cdd..ac9d265 100755 --- a/Admin/Install/Media.php +++ b/Admin/Install/Media.php @@ -45,6 +45,6 @@ class Media $defaultTemplate = \reset($media['upload'][0]); $setting = new Setting(); - SettingMapper::create($setting->with(0, 'default_template', (string) $defaultTemplate->getId(), '\\d+', 'Billing')); + SettingMapper::create($setting->with(0, 'default_template', (string) $defaultTemplate->getId(), '\\d+', null, 'Billing')); } }