Skip to content

Commit

Permalink
Merge branch 'hotfix/nullable-token' into 'main'
Browse files Browse the repository at this point in the history
fix: nullable access token

See merge request internal/oauth2-client-php!12
  • Loading branch information
marge-bot committed Feb 29, 2024
2 parents 80f8026 + 726d530 commit ec39368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuthServiceUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function setRoles(array $roles): static
$this->roles = $roles;
return $this;
}
public function setAccessToken(AccessTokenInterface $token): static
public function setAccessToken(?AccessTokenInterface $token): static
{
$this->token = $token;
return $this;
Expand Down

0 comments on commit ec39368

Please sign in to comment.