1
0
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:
Toby Zerner
2015-10-19 14:58:47 +10:30
parent 43c44efe3d
commit ddfedcb4dd
19 changed files with 64 additions and 63 deletions

View File

@@ -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;