mirror of
https://github.com/flarum/core.git
synced 2025-10-14 16:34:26 +02:00
Add Interface suffix to SettingsRepository
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Flarum\Api\Serializer;
|
||||
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\Core\Access\Gate;
|
||||
use Flarum\Settings\SettingsRepository;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
|
||||
class ForumSerializer extends AbstractSerializer
|
||||
{
|
||||
@@ -32,16 +32,16 @@ class ForumSerializer extends AbstractSerializer
|
||||
protected $app;
|
||||
|
||||
/**
|
||||
* @var SettingsRepository
|
||||
* @var SettingsRepositoryInterface
|
||||
*/
|
||||
protected $settings;
|
||||
|
||||
/**
|
||||
* @param Gate $gate
|
||||
* @param Application $app
|
||||
* @param SettingsRepository $settings
|
||||
* @param SettingsRepositoryInterface $settings
|
||||
*/
|
||||
public function __construct(Gate $gate, Application $app, SettingsRepository $settings)
|
||||
public function __construct(Gate $gate, Application $app, SettingsRepositoryInterface $settings)
|
||||
{
|
||||
$this->gate = $gate;
|
||||
$this->app = $app;
|
||||
|
Reference in New Issue
Block a user