mirror of
https://github.com/flarum/core.git
synced 2025-01-18 06:38:25 +01:00
Use Symfony TranslatorInterface for tests
This seems to be a leftover change missed in https://github.com/flarum/core/pull/2243
This commit is contained in:
parent
13efd02085
commit
97c36f2f7d
@ -16,7 +16,7 @@ use Flarum\Tests\integration\RetrievesAuthorizedUsers;
|
||||
use Flarum\Tests\integration\TestCase;
|
||||
use Flarum\User\User;
|
||||
use Illuminate\Contracts\Bus\Dispatcher;
|
||||
use Illuminate\Contracts\Translation\Translator;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
|
||||
class EventTest extends TestCase
|
||||
{
|
||||
@ -87,7 +87,7 @@ class CustomListener
|
||||
{
|
||||
protected $translator;
|
||||
|
||||
public function __construct(Translator $translator)
|
||||
public function __construct(TranslatorInterface $translator)
|
||||
{
|
||||
$this->translator = $translator;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user