Skip to content

Commit

Permalink
Use TranslatorInterface instead of Pimcore Translator (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Apr 25, 2024
1 parent 3276f5a commit 92e141b
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -7,13 +7,13 @@
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Pimcore\Translation\Translator;
use Symfony\Contracts\Translation\TranslatorInterface;

class DropZoneType extends AbstractType
{
protected Translator $translator;
protected TranslatorInterface $translator;

public function __construct(Translator $translator)
public function __construct(TranslatorInterface $translator)
{
$this->translator = $translator;
}
Expand Down

0 comments on commit 92e141b

Please sign in to comment.