mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
fix: Strict types interfaces: VoterHelperInterface
, ProvideRoleHierarchyInterface
and ProvideRoleInterface
.
This commit is contained in:
@@ -203,12 +203,9 @@ class User implements AdvancedUserInterface {
|
||||
*/
|
||||
public function eraseCredentials() {}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getRoles()
|
||||
public function getRoles(): array
|
||||
{
|
||||
return array('ROLE_USER');
|
||||
return ['ROLE_USER'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user