We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6480113 commit d5ee52bCopy full SHA for d5ee52b
1 file changed
src/Authenticator/TokenAuthenticator.php
@@ -46,9 +46,7 @@ class TokenAuthenticator extends AbstractAuthenticator implements StatelessInter
46
public function __construct(?IdentifierInterface $identifier, array $config = [])
47
{
48
// If no identifier is configured, set up a default Token identifier
49
- if ($identifier === null) {
50
- $identifier = IdentifierFactory::create('Authentication.Token');
51
- }
+ $identifier ??= IdentifierFactory::create('Authentication.Token');
52
53
parent::__construct($identifier, $config);
54
}
0 commit comments