mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 15:54:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,22 +20,13 @@ use Symfony\Component\Intl\Intl;
|
||||
|
||||
class LoadCountriesCommand extends Command
|
||||
{
|
||||
private $availableLanguages;
|
||||
|
||||
/**
|
||||
* @var EntityManager
|
||||
*/
|
||||
private $entityManager;
|
||||
|
||||
/**
|
||||
* LoadCountriesCommand constructor.
|
||||
*
|
||||
* @param $availableLanguages
|
||||
*/
|
||||
public function __construct(EntityManager $entityManager, $availableLanguages)
|
||||
public function __construct(private EntityManager $entityManager, private $availableLanguages)
|
||||
{
|
||||
$this->entityManager = $entityManager;
|
||||
$this->availableLanguages = $availableLanguages;
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user