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

@@ -30,8 +30,8 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use function count;
use function hash;