replace deprecated TranslatorInterface by new one

This commit is contained in:
2022-02-17 17:20:47 +01:00
parent aebb21935b
commit 5ff47050ff
67 changed files with 72 additions and 539 deletions

View File

@@ -24,7 +24,7 @@ use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
use Symfony\Component\Serializer\SerializerInterface;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use function array_key_exists;
use function count;