Skip to content

Commit

Permalink
Use Symfony TranslatorInterface fix #33
Browse files Browse the repository at this point in the history
  • Loading branch information
karaok491 committed Nov 6, 2020
1 parent 1490ebb commit d068c09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Listener/SaveReactionsToDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use FoF\Reactions\Reaction;
use Illuminate\Support\Arr;
use Pusher;
use Symfony\Component\Translation\Translator;
use Symfony\Component\Translation\TranslatorInterface;

class SaveReactionsToDatabase
{
Expand All @@ -35,7 +35,7 @@ class SaveReactionsToDatabase
protected $settings;

/**
* @var Translator
* @var TranslatorInterface
*/
protected $translator;

Expand All @@ -44,7 +44,7 @@ class SaveReactionsToDatabase
*/
protected $extensions;

public function __construct(SettingsRepositoryInterface $settings, Translator $translator, ExtensionManager $extensions)
public function __construct(SettingsRepositoryInterface $settings, TranslatorInterface $translator, ExtensionManager $extensions)
{
$this->settings = $settings;
$this->translator = $translator;
Expand Down

0 comments on commit d068c09

Please sign in to comment.