diff --git a/framework/core/src/Forum/ForumServiceProvider.php b/framework/core/src/Forum/ForumServiceProvider.php index 70db470eb..e8c05217a 100644 --- a/framework/core/src/Forum/ForumServiceProvider.php +++ b/framework/core/src/Forum/ForumServiceProvider.php @@ -195,8 +195,8 @@ class ForumServiceProvider extends AbstractServiceProvider $container->make('flarum.assets.forum'), $container->make('flarum.locales'), $container, - $container->make('flarum.less.config'), $container->make(SettingsRepositoryInterface::class), + $container->make('flarum.less.config'), ); $validator->whenSettingsSaved($event); } @@ -209,8 +209,8 @@ class ForumServiceProvider extends AbstractServiceProvider $container->make('flarum.assets.forum'), $container->make('flarum.locales'), $container, - $container->make('flarum.less.config'), $container->make(SettingsRepositoryInterface::class), + $container->make('flarum.less.config'), ); $validator->whenSettingsSaving($event); } diff --git a/framework/core/src/Forum/ValidateCustomLess.php b/framework/core/src/Forum/ValidateCustomLess.php index 7095b91b1..0ed456f68 100644 --- a/framework/core/src/Forum/ValidateCustomLess.php +++ b/framework/core/src/Forum/ValidateCustomLess.php @@ -32,8 +32,8 @@ class ValidateCustomLess protected Assets $assets, protected LocaleManager $locales, protected Container $container, - protected array $customLessSettings = [], protected SettingsRepositoryInterface $settings, + protected array $customLessSettings = [], ) { }