style: apply php-cs-fixer formatting (PSR-12)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dae215dd3d
commit
7506a7a3c1
@@ -117,10 +117,10 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
*/
|
||||
public function getRoles(): array
|
||||
{
|
||||
if($this->accessTokenScopes !== null){
|
||||
if ($this->accessTokenScopes !== null) {
|
||||
$roles = $this->roles;
|
||||
$roles[] = 'ROLE_FRONT_USER';
|
||||
}else{
|
||||
} else {
|
||||
$roles = $this->accessTokenScopes;
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
public function eraseCredentials(): void
|
||||
{
|
||||
// If you store any temporary, sensitive data on the user, clear it here
|
||||
$this->plainPassword = null;
|
||||
$this->plainPassword = null;
|
||||
}
|
||||
|
||||
public function getFirstName(): ?string
|
||||
|
||||
Reference in New Issue
Block a user