Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -13,22 +13,12 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
||||
|
||||
class TestUserEntity implements UserInterface
|
||||
{
|
||||
public function getRoles()
|
||||
public function getRoles(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function getPassword()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getSalt()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getUsername()
|
||||
public function getUserIdentifier(): string
|
||||
{
|
||||
return 'foo';
|
||||
}
|
||||
@@ -36,4 +26,9 @@ class TestUserEntity implements UserInterface
|
||||
public function eraseCredentials()
|
||||
{
|
||||
}
|
||||
|
||||
public function getTimeFormat()
|
||||
{
|
||||
return 'H:i';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user