mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
apply rector rules: php up to php82
This commit is contained in:
@@ -26,9 +26,9 @@ use function in_array;
|
||||
*/
|
||||
class LoadAndUpdateLanguagesCommand extends Command
|
||||
{
|
||||
public const INCLUDE_ANCIENT = 'include_ancient';
|
||||
final public const INCLUDE_ANCIENT = 'include_ancient';
|
||||
|
||||
public const INCLUDE_REGIONAL_VERSION = 'include_regional';
|
||||
final public const INCLUDE_REGIONAL_VERSION = 'include_regional';
|
||||
|
||||
// Array of ancien languages (to exclude)
|
||||
private $ancientToExclude = ['ang', 'egy', 'fro', 'goh', 'grc', 'la', 'non', 'peo', 'pro', 'sga',
|
||||
@@ -43,7 +43,7 @@ class LoadAndUpdateLanguagesCommand extends Command
|
||||
*
|
||||
* @param $availableLanguages
|
||||
*/
|
||||
public function __construct(private EntityManager $entityManager, private $availableLanguages)
|
||||
public function __construct(private readonly EntityManager $entityManager, private $availableLanguages)
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
Reference in New Issue
Block a user