Force new parameter to be readonly in LoadAndUpdateLanguagesCommand constructor

This commit is contained in:
Julien Fastré 2024-03-14 15:05:30 +00:00
parent d7f4895248
commit 0ff51b0a5c

View File

@ -40,7 +40,7 @@ class LoadAndUpdateLanguagesCommand extends Command
/**
* LoadCountriesCommand constructor.
*/
public function __construct(private readonly EntityManagerInterface $entityManager, private ParameterBagInterface $parameterBag)
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ParameterBagInterface $parameterBag)
{
parent::__construct();
}