mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Phpstan
This commit is contained in:
@@ -76,13 +76,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
*/
|
||||
public function getUserIdentifier(): string
|
||||
{
|
||||
return $this->email;
|
||||
/** @var non-empty-string $identifier */
|
||||
$identifier = $this->email;
|
||||
|
||||
return $identifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see UserInterface
|
||||
*
|
||||
* @return non-empty-list<string>
|
||||
* @return non-empty-array<int<0, max>, string>
|
||||
*/
|
||||
public function getRoles(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user