Skip to content

Commit 66422d5

Browse files
committed
minor #17519 Fix typo, change parameter $accesToken to $token (Qadadain)
This PR was merged into the 6.2 branch. Discussion ---------- Fix typo, change parameter $accesToken to $token Fix parameter name in documentation example. Commits ------- 51155cb Fix typo, change parameter $accesToken to $token
2 parents e82b467 + 51155cb commit 66422d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_token.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This handler must implement
9494
public function getUserBadgeFrom(string $accessToken): UserBadge
9595
{
9696
// e.g. query the "access token" database to search for this token
97-
$accessToken = $this->repository->findOneByValue($token);
97+
$accessToken = $this->repository->findOneByValue($accessToken);
9898
if (null === $accessToken || !$accessToken->isValid()) {
9999
throw new BadCredentialsException('Invalid credentials.');
100100
}

0 commit comments

Comments
 (0)