From 18cf87232baa8420aa35a49bbaa122ed63d75d2e Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Fri, 10 Jan 2025 11:32:08 +0100 Subject: [PATCH] fix: proper typing --- framework/core/src/Forum/ForumServiceProvider.php | 4 ++-- framework/core/src/Forum/ValidateCustomLess.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/core/src/Forum/ForumServiceProvider.php b/framework/core/src/Forum/ForumServiceProvider.php index 70db470eb4..e8c05217a6 100644 --- a/framework/core/src/Forum/ForumServiceProvider.php +++ b/framework/core/src/Forum/ForumServiceProvider.php @@ -195,8 +195,8 @@ function (Saved $event) use ($container) { $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 @@ function (Saving $event) use ($container) { $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 7095b91b16..0ed456f685 100644 --- a/framework/core/src/Forum/ValidateCustomLess.php +++ b/framework/core/src/Forum/ValidateCustomLess.php @@ -32,8 +32,8 @@ public function __construct( protected Assets $assets, protected LocaleManager $locales, protected Container $container, - protected array $customLessSettings = [], protected SettingsRepositoryInterface $settings, + protected array $customLessSettings = [], ) { }