mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
apply rector rules
This commit is contained in:
@@ -28,20 +28,17 @@ use function in_array;
|
||||
*/
|
||||
class ComposedRoleScopeType extends AbstractType
|
||||
{
|
||||
/**
|
||||
* @var RoleProvider
|
||||
*/
|
||||
private $roleProvider;
|
||||
private readonly \Chill\MainBundle\Security\RoleProvider $roleProvider;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $roles = [];
|
||||
private array $roles = [];
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $rolesWithoutScope = [];
|
||||
private array $rolesWithoutScope = [];
|
||||
|
||||
public function __construct(
|
||||
private readonly TranslatableStringHelper $translatableStringHelper,
|
||||
|
@@ -26,7 +26,7 @@ class TranslatableStringFormType extends AbstractType
|
||||
{
|
||||
// The langauges availaible
|
||||
|
||||
private $frameworkTranslatorFallback; // The langagues used for the translation
|
||||
private readonly array $frameworkTranslatorFallback; // The langagues used for the translation
|
||||
|
||||
public function __construct(private readonly array $availableLanguages, Translator $translator)
|
||||
{
|
||||
|
Reference in New Issue
Block a user