We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dab98 commit 6480113Copy full SHA for 6480113
src/Authenticator/JwtAuthenticator.php
@@ -58,9 +58,7 @@ class JwtAuthenticator extends TokenAuthenticator
58
public function __construct(?IdentifierInterface $identifier, array $config = [])
59
{
60
// Override parent's default - JWT should use JwtSubject identifier
61
- if ($identifier === null) {
62
- $identifier = IdentifierFactory::create('Authentication.JwtSubject');
63
- }
+ $identifier ??= IdentifierFactory::create('Authentication.JwtSubject');
64
65
// Call AbstractAuthenticator's constructor directly to skip parent's default
66
AbstractAuthenticator::__construct($identifier, $config);
0 commit comments