Skip to content

Commit f6dab98

Browse files
dereuromarkADmad
andauthored
Update src/Authenticator/EnvironmentAuthenticator.php
Co-authored-by: ADmad <admad.coder@gmail.com>
1 parent 242b12a commit f6dab98

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Authenticator/EnvironmentAuthenticator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class EnvironmentAuthenticator extends AbstractAuthenticator
5555
*/
5656
public function __construct(?IdentifierInterface $identifier, array $config = [])
5757
{
58-
if ($identifier === null) {
59-
$identifier = IdentifierFactory::create('Authentication.Callback');
60-
}
58+
$identifier ??= IdentifierFactory::create('Authentication.Callback');
6159

6260
parent::__construct($identifier, $config);
6361
}

0 commit comments

Comments
 (0)