We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71904c8 commit 4827a75Copy full SHA for 4827a75
security/access_token.rst
@@ -95,7 +95,7 @@ This handler must implement
95
{
96
// e.g. query the "access token" database to search for this token
97
$accessToken = $this->repository->findOneByValue($token);
98
- if ($accessToken === null || !$accessToken->isValid()) {
+ if (null === $accessToken || !$accessToken->isValid()) {
99
throw new BadCredentialsException('Invalid credentials.');
100
}
101
0 commit comments