fix compatibility

This commit is contained in:
el-abdel
2022-03-06 18:49:47 +01:00
parent 1f88ce8cb0
commit 570008ab6e
3 changed files with 4 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ class KeycloakBearerUser implements UserInterface, \Serializable
*
* @return array (Role|string)[] The user roles
*/
public function getRoles()
public function getRoles(): array
{
return $this->roles;
}