Skip to content

Commit

Permalink
fix: proper typing
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Jan 10, 2025
1 parent bd599bc commit 18cf872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions framework/core/src/Forum/ForumServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion framework/core/src/Forum/ValidateCustomLess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [],
) {
}

Expand Down

0 comments on commit 18cf872

Please sign in to comment.