apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -19,17 +19,15 @@ class RoleProvider
/**
* @var ProvideRoleInterface[]
*/
private $providers = [];
private array $providers = [];
/**
* an array where keys are the role, and value is the title
* for the given role.
*
* Null when not initialized.
*
* @var array|null
*/
private $rolesTitlesCache;
private ?array $rolesTitlesCache = null;
/**
* Add a role provider.