mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 14:07:47 +08:00
Add Interface suffix to SettingsRepository
This commit is contained in:
parent
1e67d066a0
commit
4d25738cb3
|
@ -15,14 +15,14 @@ use Flarum\Core;
|
|||
use Flarum\Event\PostWillBeSaved;
|
||||
use Flarum\Flags\Flag;
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\Settings\SettingsRepository;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use TijsVerkoyen\Akismet\Akismet;
|
||||
|
||||
class FilterNewPosts
|
||||
{
|
||||
/**
|
||||
* @var SettingsRepository
|
||||
* @var SettingsRepositoryInterface
|
||||
*/
|
||||
protected $settings;
|
||||
|
||||
|
@ -32,10 +32,10 @@ class FilterNewPosts
|
|||
protected $app;
|
||||
|
||||
/**
|
||||
* @param SettingsRepository $settings
|
||||
* @param SettingsRepositoryInterface $settings
|
||||
* @param Application $app
|
||||
*/
|
||||
public function __construct(SettingsRepository $settings, Application $app)
|
||||
public function __construct(SettingsRepositoryInterface $settings, Application $app)
|
||||
{
|
||||
$this->settings = $settings;
|
||||
$this->app = $app;
|
||||
|
|
Loading…
Reference in New Issue
Block a user