From 6ff50874fa457dacaab2fa9102a51ae9bb9bcbac Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 5 Oct 2020 16:02:12 -0400 Subject: [PATCH] Use Symfony TranslatorInterface for tests This seems to be a leftover change missed in https://github.com/flarum/core/pull/2243 --- framework/core/tests/integration/extenders/EventTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/tests/integration/extenders/EventTest.php b/framework/core/tests/integration/extenders/EventTest.php index 066f4f9ec..de32cd1ee 100644 --- a/framework/core/tests/integration/extenders/EventTest.php +++ b/framework/core/tests/integration/extenders/EventTest.php @@ -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; }